poe-code 3.0.11 → 3.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -12,6 +12,7 @@
12
12
  "dev": "tsx src/index.ts",
13
13
  "start": "node dist/index.js",
14
14
  "test": "vitest run",
15
+ "typecheck": "npm run lint:types",
15
16
  "check:semver": "node -e \"const semver=require('semver'); const pkg=require('./package.json'); if(!semver.valid(pkg.version)){console.error('Invalid semver version in package.json:', pkg.version); process.exit(1);}\"",
16
17
  "lint": "npm run lint:eslint && npm run lint:types && npm run lint:workflows",
17
18
  "lint:workflows": "(command -v actionlint > /dev/null || bash scripts/setup-actionlint.sh) && (command -v actionlint > /dev/null && actionlint || ./actionlint)",
@@ -38,7 +39,8 @@
38
39
  "e2e:cleanup": "tsx packages/e2e-docker-test-runner/scripts/cleanup.ts",
39
40
  "e2e:logs": "tsx packages/e2e-docker-test-runner/scripts/logs.ts",
40
41
  "e2e:logs:rotate": "tsx packages/e2e-docker-test-runner/scripts/logs.ts --rotate",
41
- "e2e:cache:clear": "rm -rf ~/.cache/poe-e2e"
42
+ "e2e:cache:clear": "rm -rf ~/.cache/poe-e2e",
43
+ "prepare": "husky"
42
44
  },
43
45
  "bin": {
44
46
  "poe-code": "dist/index.js",
@@ -55,6 +57,7 @@
55
57
  },
56
58
  "packageManager": "npm@10.9.2",
57
59
  "dependencies": {
60
+ "@poe-code/agent-spawn": "*",
58
61
  "@poe-code/config-mutations": "*",
59
62
  "@poe-code/design-system": "*",
60
63
  "@poe-code/tiny-mcp-server": "*",
@@ -75,10 +78,11 @@
75
78
  "@typescript-eslint/parser": "^8.46.2",
76
79
  "eslint": "^9.38.0",
77
80
  "eslint-config-prettier": "^9.1.0",
81
+ "husky": "^9.1.7",
78
82
  "memfs": "^4.7.3",
79
83
  "prettier": "^3.3.3",
80
- "turbo": "^2.5.0",
81
84
  "tsx": ">=4.21.0",
85
+ "turbo": "^2.5.0",
82
86
  "typescript": "^5.4.5",
83
87
  "typescript-eslint": "^8.46.2",
84
88
  "vitest": ">=4.0.17"
@@ -1,8 +0,0 @@
1
- export interface McpAgentProfile {
2
- name: string;
3
- supportsRichContent: boolean;
4
- }
5
- export declare const MCP_AGENT_PROFILES: Record<string, McpAgentProfile>;
6
- export declare const DEFAULT_AGENT = "generic";
7
- export declare function getAgentProfile(name: string): McpAgentProfile | undefined;
8
- export declare function formatAgentsList(): string;
@@ -1,60 +0,0 @@
1
- import chalk from "chalk";
2
- export const MCP_AGENT_PROFILES = {
3
- "claude-code": {
4
- name: "Claude Code",
5
- supportsRichContent: true
6
- },
7
- "claude-desktop": {
8
- name: "Claude Desktop",
9
- supportsRichContent: true
10
- },
11
- codex: {
12
- name: "Codex CLI",
13
- supportsRichContent: true
14
- },
15
- opencode: {
16
- name: "OpenCode",
17
- supportsRichContent: false
18
- },
19
- kimi: {
20
- name: "Kimi",
21
- supportsRichContent: false
22
- },
23
- cline: {
24
- name: "Cline",
25
- supportsRichContent: false
26
- },
27
- "roo-code": {
28
- name: "Roo Code",
29
- supportsRichContent: false
30
- },
31
- "gemini-cli": {
32
- name: "Gemini CLI",
33
- supportsRichContent: false
34
- },
35
- librechat: {
36
- name: "LibreChat",
37
- supportsRichContent: false
38
- },
39
- generic: {
40
- name: "Generic",
41
- supportsRichContent: false
42
- }
43
- };
44
- export const DEFAULT_AGENT = "generic";
45
- export function getAgentProfile(name) {
46
- return MCP_AGENT_PROFILES[name];
47
- }
48
- export function formatAgentsList() {
49
- const lines = [];
50
- lines.push(chalk.magenta.bold("Available Agents"));
51
- lines.push("");
52
- for (const [key, profile] of Object.entries(MCP_AGENT_PROFILES)) {
53
- const supportLabel = profile.supportsRichContent
54
- ? chalk.green("rich content")
55
- : chalk.yellow("text-only");
56
- lines.push(` ${chalk.cyan(key)} ${chalk.dim(`(${profile.name})`)} ${supportLabel}`);
57
- }
58
- return lines.join("\n");
59
- }
60
- //# sourceMappingURL=mcp-agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mcp-agents.js","sourceRoot":"","sources":["../../src/cli/mcp-agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,CAAC,MAAM,kBAAkB,GAAoC;IACjE,aAAa,EAAE;QACb,IAAI,EAAE,aAAa;QACnB,mBAAmB,EAAE,IAAI;KAC1B;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,gBAAgB;QACtB,mBAAmB,EAAE,IAAI;KAC1B;IACD,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,mBAAmB,EAAE,IAAI;KAC1B;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,mBAAmB,EAAE,KAAK;KAC3B;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,mBAAmB,EAAE,KAAK;KAC3B;IACD,KAAK,EAAE;QACL,IAAI,EAAE,OAAO;QACb,mBAAmB,EAAE,KAAK;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,mBAAmB,EAAE,KAAK;KAC3B;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,YAAY;QAClB,mBAAmB,EAAE,KAAK;KAC3B;IACD,SAAS,EAAE;QACT,IAAI,EAAE,WAAW;QACjB,mBAAmB,EAAE,KAAK;KAC3B;IACD,OAAO,EAAE;QACP,IAAI,EAAE,SAAS;QACf,mBAAmB,EAAE,KAAK;KAC3B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AAEvC,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,gBAAgB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