Lines 1-58javascript
2import { readdir, stat, mkdir, writeFile, glob, readFile } from 'fs/promises';
3import { homedir } from 'os';
4import path, { join, resolve, isAbsolute, basename, dirname, sep } from 'path';
5import { kimi, grok, deepseek, ollama, gemini, anthropic, openai } from '@agentskit/adapters';
6import { randomBytes, createHash } from 'crypto';
7import { writeFileSync, existsSync, readdirSync, statSync, readFileSync, mkdirSync, rmSync } from 'fs';
8import { spawn } from 'child_process';
9import React2, { useMemo, useState, useEffect, useRef } from 'react';
HighChild Process
Package source references child process execution.
dist/chunk-RNOYLQCV.jsView on unpkg · L7 HighRemote Agent Bridge
Source exposes local file and command tools to a remote model endpoint.
dist/chunk-RNOYLQCV.jsView on unpkg · L7 10import { Box, Text, render } from 'ink';
11import { useChat, StatusHeader, ChatContainer, Message, ToolCallView, ToolConfirmation, ThinkingIndicator, InputBar } from '@agentskit/ink';
12import { shell, filesystem, fetchUrl, webSearch } from '@agentskit/tools';
13import { summarizer, critic, planner, coder, researcher, composeSkills } from '@agentskit/skills';
14import { fileVectorMemory, fileChatMemory, sqliteChatMemory } from '@agentskit/memory';
15import { getIntegration, integrationToolsFromEnv } from '@agentskit/integrations';
16import { jsxs, jsx } from 'react/jsx-runtime';
17import { pathToFileURL } from 'url';
18import { createRuntime, validateFlow, flowToMermaid, compileFlow, createFileStepLog } from '@agentskit/runtime';
19import chokidar from 'chokidar';
20import kleur3 from 'kleur';
21import { createRAG } from '@agentskit/rag';
22import { Command } from 'commander';
23import { input, select, checkbox, confirm } from '@inquirer/prompts';
24import { validateAgentSchema } from '@agentskit/core/agent-schema';
25import { parse } from 'yaml';
26import { validatePIITaxonomy } from '@agentskit/core/security';
27import { ConfigError, ErrorCodes } from '@agentskit/core';
29async function loadJsonConfig(path5) {
31 const raw = await readFile(path5, "utf8");
32 return JSON.parse(raw);
37async function loadTsConfig(path5) {
39 const mod = await import(path5);
40 return mod.default ?? mod;
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/chunk-RNOYLQCV.jsView on unpkg · L38 45async function loadPackageJsonConfig(dir) {
47 const raw = await readFile(join(dir, "package.json"), "utf8");
48 const pkg = JSON.parse(raw);
CriticalCredential Exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/chunk-RNOYLQCV.jsView on unpkg · L7 49 if (pkg.agentskit && typeof pkg.agentskit === "object") {
57function mergeConfigs(base, override) {
58 if (!base && !override) return void 0;