@agentskit/cli 0.11.3 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Command } from 'commander';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
2
  import { ToolDefinition, ChatReturn, SkillDefinition, AdapterFactory, EmbedFn } from '@agentskit/core';
3
+ import React from 'react';
4
4
  import { ChildProcess } from 'node:child_process';
5
5
  import { RAG } from '@agentskit/rag';
6
6
 
@@ -314,7 +314,7 @@ interface ChatCommandOptions {
314
314
  /** Permission policy for tool calls. */
315
315
  permissionPolicy?: PermissionPolicy;
316
316
  }
317
- declare function ChatApp(options: ChatCommandOptions): react_jsx_runtime.JSX.Element;
317
+ declare function ChatApp(options: ChatCommandOptions): React.JSX.Element;
318
318
  declare function renderChatHeader(options: ChatCommandOptions): string;
319
319
 
320
320
  type StarterKind = 'react' | 'nextjs' | 'ink' | 'runtime' | 'multi-agent' | 'sveltekit' | 'nuxt' | 'vite-ink' | 'cloudflare-workers' | 'bun' | 'expo' | 'deno-deploy' | 'angular';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Command } from 'commander';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
2
  import { ToolDefinition, ChatReturn, SkillDefinition, AdapterFactory, EmbedFn } from '@agentskit/core';
3
+ import React from 'react';
4
4
  import { ChildProcess } from 'node:child_process';
5
5
  import { RAG } from '@agentskit/rag';
6
6
 
@@ -314,7 +314,7 @@ interface ChatCommandOptions {
314
314
  /** Permission policy for tool calls. */
315
315
  permissionPolicy?: PermissionPolicy;
316
316
  }
317
- declare function ChatApp(options: ChatCommandOptions): react_jsx_runtime.JSX.Element;
317
+ declare function ChatApp(options: ChatCommandOptions): React.JSX.Element;
318
318
  declare function renderChatHeader(options: ChatCommandOptions): string;
319
319
 
320
320
  type StarterKind = 'react' | 'nextjs' | 'ink' | 'runtime' | 'multi-agent' | 'sveltekit' | 'nuxt' | 'vite-ink' | 'cloudflare-workers' | 'bun' | 'expo' | 'deno-deploy' | 'angular';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- export { ChatApp, HookDispatcher, McpClient, applyPolicyToTool, applyPolicyToTools, bridgeMcpServers, buildRagFromConfig, computeCost, configHooksToHandlers, createCli, createOpenAiEmbedder, defaultPolicy, derivePreview, disposeMcpClients, evaluatePolicy, findLatestSession, findSession, forkSession, generateSessionId, getPricing, indexSources, listSessions, loadConfig, loadPlugins, mergePluginsIntoBundle, registerPricing, renameSession, renderChatHeader, renderReport, resolveChatProvider, resolveSession, runAgent, runDoctor, sessionFilePath, startDev, startTunnel, writeSessionMeta, writeStarterProject } from './chunk-7SBFFCM7.js';
2
+ export { ChatApp, HookDispatcher, McpClient, applyPolicyToTool, applyPolicyToTools, bridgeMcpServers, buildRagFromConfig, computeCost, configHooksToHandlers, createCli, createOpenAiEmbedder, defaultPolicy, derivePreview, disposeMcpClients, evaluatePolicy, findLatestSession, findSession, forkSession, generateSessionId, getPricing, indexSources, listSessions, loadConfig, loadPlugins, mergePluginsIntoBundle, registerPricing, renameSession, renderChatHeader, renderReport, resolveChatProvider, resolveSession, runAgent, runDoctor, sessionFilePath, startDev, startTunnel, writeSessionMeta, writeStarterProject } from './chunk-X4PVLZSO.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentskit/cli",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "description": "CLI for AgentsKit chat and project scaffolding.",
5
5
  "keywords": [
6
6
  "agentskit",
@@ -23,6 +23,7 @@
23
23
  "terminal"
24
24
  ],
25
25
  "type": "module",
26
+ "sideEffects": false,
26
27
  "main": "./dist/index.cjs",
27
28
  "module": "./dist/index.js",
28
29
  "types": "./dist/index.d.ts",
@@ -40,30 +41,34 @@
40
41
  "dist"
41
42
  ],
42
43
  "dependencies": {
43
- "@inquirer/prompts": "^8.4.2",
44
+ "@inquirer/prompts": "^8.5.2",
44
45
  "chokidar": "^5.0.0",
45
- "commander": "^14.0.1",
46
- "ink": "^7.0.1",
46
+ "commander": "^14.0.3",
47
+ "ink": "^7.0.5",
47
48
  "kleur": "^4.1.5",
48
49
  "localtunnel": "^2.0.2",
49
- "react": "^19.2.5",
50
- "yaml": "^2.6.0",
51
- "@agentskit/adapters": "0.12.2",
52
- "@agentskit/ink": "0.7.8",
53
- "@agentskit/core": "1.7.3",
54
- "@agentskit/memory": "0.8.3",
55
- "@agentskit/rag": "0.3.3",
56
- "@agentskit/runtime": "0.7.3",
57
- "@agentskit/skills": "0.8.2",
58
- "@agentskit/tools": "0.9.4"
50
+ "react": "^19.2.7",
51
+ "yaml": "^2.9.0",
52
+ "@agentskit/adapters": "0.13.0",
53
+ "@agentskit/core": "1.8.0",
54
+ "@agentskit/ink": "0.7.9",
55
+ "@agentskit/integrations": "0.1.0",
56
+ "@agentskit/memory": "0.9.0",
57
+ "@agentskit/rag": "0.3.4",
58
+ "@agentskit/runtime": "0.8.0",
59
+ "@agentskit/skills": "0.8.3",
60
+ "@agentskit/tools": "0.10.0"
59
61
  },
60
62
  "devDependencies": {
63
+ "@testing-library/jest-dom": "^6.9.1",
64
+ "@testing-library/react": "^16.3.2",
61
65
  "@types/localtunnel": "^2.0.4",
62
- "@types/node": "^25.6.0",
63
- "@types/react": "^19.2.14",
64
- "tsup": "^8.5.0",
66
+ "@types/node": "^25.9.2",
67
+ "@types/react": "^19.2.17",
68
+ "happy-dom": "^20.10.2",
69
+ "tsup": "^8.5.1",
65
70
  "typescript": "^6.0.3",
66
- "vitest": "^4.1.5"
71
+ "vitest": "^4.1.8"
67
72
  },
68
73
  "publishConfig": {
69
74
  "access": "public"