@supen-ai/cli 1.4.5 → 1.4.6
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/README.md
CHANGED
|
@@ -73,7 +73,7 @@ curl -fsSL https://app.supen.ai/install.sh | /bin/sh -s -- --claim '<one-time-cl
|
|
|
73
73
|
`https://hub.supen.ai`. The legacy `--gateway-url` flag remains supported for
|
|
74
74
|
existing scripts. The hosted installer downloads a private Node 22.22.0
|
|
75
75
|
runtime into `~/.supen` when the system Node is too old, then uses
|
|
76
|
-
`@supen-ai/cli@1.4.
|
|
76
|
+
`@supen-ai/cli@1.4.6` with the `host` runtime to configure Codex app-server
|
|
77
77
|
transport and start the daemon as a user service with the existing Codex login
|
|
78
78
|
on that machine.
|
|
79
79
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-lookup.d.ts","sourceRoot":"","sources":["../../src/core/tool-lookup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-lookup.d.ts","sourceRoot":"","sources":["../../src/core/tool-lookup.ts"],"names":[],"mappings":"AA+BA,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,UAAU,CAOpF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQrE;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI9D"}
|
|
@@ -3,9 +3,10 @@ import os from 'node:os';
|
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { withRuntimeSpaceEnv } from './space-env.js';
|
|
5
5
|
const TOOL_LOOKUP_PATH_ENTRIES = [
|
|
6
|
+
'/Applications/Codex.app/Contents/Resources',
|
|
6
7
|
'/opt/homebrew/bin',
|
|
7
|
-
'/usr/local/bin',
|
|
8
8
|
'/opt/homebrew/sbin',
|
|
9
|
+
'/usr/local/bin',
|
|
9
10
|
'/usr/local/sbin',
|
|
10
11
|
];
|
|
11
12
|
function joinPathEntries(entries) {
|
|
@@ -16,12 +17,13 @@ function resolveUserToolPathEntries() {
|
|
|
16
17
|
if (!homeDir)
|
|
17
18
|
return TOOL_LOOKUP_PATH_ENTRIES;
|
|
18
19
|
return [
|
|
19
|
-
|
|
20
|
+
'/Applications/Codex.app/Contents/Resources',
|
|
20
21
|
path.join(homeDir, '.dotnet', 'tools'),
|
|
21
22
|
path.join(homeDir, '.local', 'bin'),
|
|
22
23
|
path.join(homeDir, '.local', 'node', 'bin'),
|
|
23
24
|
path.join(homeDir, '.local', 'share', 'pnpm'),
|
|
24
25
|
path.join(homeDir, 'bin'),
|
|
26
|
+
...TOOL_LOOKUP_PATH_ENTRIES,
|
|
25
27
|
];
|
|
26
28
|
}
|
|
27
29
|
export function buildToolLookupEnv(extra) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-lookup.js","sourceRoot":"","sources":["../../src/core/tool-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,wBAAwB,GAAG;IAC/B,mBAAmB;IACnB,gBAAgB;IAChB,
|
|
1
|
+
{"version":3,"file":"tool-lookup.js","sourceRoot":"","sources":["../../src/core/tool-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,wBAAwB,GAAG;IAC/B,4CAA4C;IAC5C,mBAAmB;IACnB,oB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,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,cAAc,IAAI,EAAE,CAAC,EAAE;QAC7D,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,kBAAkB,EAAE;KAC1B,CAAC,CAAC;IACH,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACvC,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC;AACrF,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,MAAM,cAAc,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,cAAc;QAAE,OAAO,cAAc,CAAC;IAC1C,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,0DAA0D,CAAC,CAAC;AACrF,CAAC"}
|
package/daemon/package.json
CHANGED
package/dist/computer.js
CHANGED
|
@@ -11,7 +11,7 @@ import { hostOsIdentityEnv } from './os-identity.js';
|
|
|
11
11
|
import { createTransport, resolveTransportConfig } from './transport/index.js';
|
|
12
12
|
const DEFAULT_LOCAL_GATEWAY_URL = 'http://127.0.0.1:2755';
|
|
13
13
|
const DEFAULT_PRODUCTION_HUB_URL = 'https://hub.supen.ai';
|
|
14
|
-
const HOST_DAEMON_PACKAGE_SPEC = '@supen-ai/cli@1.4.
|
|
14
|
+
const HOST_DAEMON_PACKAGE_SPEC = '@supen-ai/cli@1.4.6';
|
|
15
15
|
const DEFAULT_NPM_REGISTRY = 'https://registry.npmjs.org';
|
|
16
16
|
function normalizeGatewayUrl(raw) {
|
|
17
17
|
const trimmed = (raw || '').trim();
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@ const program = new Command();
|
|
|
78
78
|
program
|
|
79
79
|
.name('supen')
|
|
80
80
|
.description('Supen CLI — bootstrap, manage skills, agents, and control the service')
|
|
81
|
-
.version('1.4.
|
|
81
|
+
.version('1.4.6');
|
|
82
82
|
program
|
|
83
83
|
.command('bootstrap')
|
|
84
84
|
.description('First-time setup: choose gateway mode or local Docker daemon mode')
|