toolcraft 0.0.126 → 0.0.128

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/composition.json CHANGED
@@ -108,7 +108,7 @@
108
108
  },
109
109
  {
110
110
  "name": "toolcraft",
111
- "version": "0.0.126",
111
+ "version": "0.0.128",
112
112
  "license": "MIT"
113
113
  },
114
114
  {
@@ -118,7 +118,7 @@
118
118
  },
119
119
  {
120
120
  "name": "toolcraft-schema",
121
- "version": "0.0.126",
121
+ "version": "0.0.128",
122
122
  "license": "MIT"
123
123
  },
124
124
  {
@@ -108,7 +108,7 @@
108
108
  },
109
109
  {
110
110
  "name": "toolcraft",
111
- "version": "0.0.126",
111
+ "version": "0.0.128",
112
112
  "license": "MIT"
113
113
  },
114
114
  {
@@ -118,7 +118,7 @@
118
118
  },
119
119
  {
120
120
  "name": "toolcraft-schema",
121
- "version": "0.0.126",
121
+ "version": "0.0.128",
122
122
  "license": "MIT"
123
123
  },
124
124
  {
@@ -23,7 +23,7 @@ const codex = allAgents.find((agent) => agent.id === "codex");
23
23
  - `parseAgentSpecifier(input)`: parses `agent` or `agent:model` input.
24
24
  - `formatAgentSpecifier(specifier)`: formats an agent specifier.
25
25
  - `normalizeAgentId(input)`: normalizes the agent part through the registry.
26
- - Agent definition exports such as `codexAgent`, `claudeCodeAgent`, and `geminiCliAgent`.
26
+ - Agent definition exports such as `codexAgent`, `claudeCodeAgent`, `geminiCliAgent`, and `piAgent`.
27
27
 
28
28
  ## Config Options
29
29
 
@@ -6,4 +6,5 @@ export { geminiCliAgent } from "./gemini-cli.js";
6
6
  export { openCodeAgent } from "./opencode.js";
7
7
  export { kimiAgent } from "./kimi.js";
8
8
  export { gooseAgent } from "./goose.js";
9
+ export { piAgent } from "./pi.js";
9
10
  export { poeAgentAgent } from "./poe-agent.js";
@@ -6,4 +6,5 @@ export { geminiCliAgent } from "./gemini-cli.js";
6
6
  export { openCodeAgent } from "./opencode.js";
7
7
  export { kimiAgent } from "./kimi.js";
8
8
  export { gooseAgent } from "./goose.js";
9
+ export { piAgent } from "./pi.js";
9
10
  export { poeAgentAgent } from "./poe-agent.js";
@@ -0,0 +1,2 @@
1
+ import type { AgentDefinition } from "../types.js";
2
+ export declare const piAgent: AgentDefinition;
@@ -0,0 +1,14 @@
1
+ export const piAgent = {
2
+ id: "pi",
3
+ name: "pi",
4
+ aliases: ["pi-agent"],
5
+ label: "Pi",
6
+ summary: "Pi coding agent (spawn-only; uses local Pi auth/settings).",
7
+ binaryName: "pi",
8
+ branding: {
9
+ colors: {
10
+ dark: "#F2F2F2",
11
+ light: "#242424"
12
+ }
13
+ }
14
+ };
@@ -1,5 +1,5 @@
1
1
  export type { AgentDefinition, ApiShapeId, OtelCaptureDefinition } from "./types.js";
2
2
  export type { AgentSpecifier } from "./specifier.js";
3
- export { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, poeAgentAgent } from "./agents/index.js";
3
+ export { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, piAgent, poeAgentAgent } from "./agents/index.js";
4
4
  export { allAgents, resolveAgentId } from "./registry.js";
5
5
  export { parseAgentSpecifier, formatAgentSpecifier, normalizeAgentId } from "./specifier.js";
@@ -1,3 +1,3 @@
1
- export { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, poeAgentAgent } from "./agents/index.js";
1
+ export { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, piAgent, poeAgentAgent } from "./agents/index.js";
2
2
  export { allAgents, resolveAgentId } from "./registry.js";
3
3
  export { parseAgentSpecifier, formatAgentSpecifier, normalizeAgentId } from "./specifier.js";
@@ -1,4 +1,4 @@
1
- import { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, poeAgentAgent } from "./agents/index.js";
1
+ import { claudeCodeAgent, claudeDesktopAgent, codexAgent, cursorAgent, geminiCliAgent, openCodeAgent, kimiAgent, gooseAgent, piAgent, poeAgentAgent } from "./agents/index.js";
2
2
  function freezeAgent(agent) {
3
3
  if (agent.aliases !== undefined) {
4
4
  Object.freeze(agent.aliases);
@@ -25,6 +25,7 @@ export const allAgents = Object.freeze([
25
25
  freezeAgent(openCodeAgent),
26
26
  freezeAgent(kimiAgent),
27
27
  freezeAgent(gooseAgent),
28
+ freezeAgent(piAgent),
28
29
  freezeAgent(poeAgentAgent)
29
30
  ]);
30
31
  const lookup = new Map();
@@ -13,7 +13,7 @@ export interface AgentDefinition {
13
13
  binaryName?: string;
14
14
  readonly apiShapes?: readonly ApiShapeId[];
15
15
  readonly otelCapture?: OtelCaptureDefinition;
16
- configPath: string;
16
+ configPath?: string;
17
17
  readonly configPaths?: {
18
18
  readonly darwin: string;
19
19
  readonly linux: string;
@@ -8,7 +8,7 @@
8
8
  },
9
9
  {
10
10
  "name": "toolcraft-schema",
11
- "version": "0.0.126",
11
+ "version": "0.0.128",
12
12
  "license": "MIT"
13
13
  }
14
14
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.126",
3
+ "version": "0.0.128",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft",
3
- "version": "0.0.126",
3
+ "version": "0.0.128",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -153,7 +153,7 @@
153
153
  "yaml"
154
154
  ],
155
155
  "optionalDependencies": {
156
- "toolcraft-schema": "0.0.126",
156
+ "toolcraft-schema": "0.0.128",
157
157
  "toolcraft-design": "*",
158
158
  "@poe-code/frontmatter": "*",
159
159
  "@poe-code/agent-mcp-config": "*",