@parall/codex-agent 1.54.0 → 1.55.1
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/workspace.d.ts.map +1 -1
- package/dist/workspace.js +2 -12
- package/package.json +4 -4
- package/src/workspace.ts +6 -19
package/dist/workspace.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKxD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAUF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE;IAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,GAAG,SAAS,EAChD,EAAE,EAAE,MAAM,IAAI,GACb,IAAI,CAkJN;AAED;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE;IACnC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAuJP;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAK/E;AAED;;;;;;;;;;;;;GAaG;AACH;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAerD;AAED,wEAAwE;AACxE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AA0BD,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,GAAG,CAAC,EAAE;IAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,EACrC,IAAI,CAAC,EAAE,yBAAyB,GAC/B,IAAI,CAEN;AAiFD,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,EACpB,aAAa,CAAC,EAAE,aAAa,EAC7B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAC7B,MAAM,CAkBR;AAED,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE;IAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,EACrC,aAAa,CAAC,EAAE,aAAa,EAC7B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAC7B,MAAM,CA+BR"}
|
package/dist/workspace.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
import {
|
|
3
|
+
import { buildCodexPlatformInstructions, writeSkillFiles } from '@parall/agent-core';
|
|
4
4
|
import { runLegacyWorkspaceConfigMigration } from './legacy-workspace-config-migration.js';
|
|
5
5
|
/**
|
|
6
6
|
* Config-lock timings, exported for tests.
|
|
@@ -556,17 +556,7 @@ function systemPromptCopyPath(workspaceDir) {
|
|
|
556
556
|
// failure must fail startup loudly; the refresh hot path wraps this in
|
|
557
557
|
// try/catch and retries next refresh.
|
|
558
558
|
export function writeCodexSystemPrompt(workspaceDir, agentIdentity, capabilityFragments) {
|
|
559
|
-
const
|
|
560
|
-
buildIdentity(agentIdentity),
|
|
561
|
-
BRIDGE_WORKSPACE_INSTRUCTIONS,
|
|
562
|
-
PRLL_BEHAVIOR,
|
|
563
|
-
PRLL_REFERENCE_GUIDE,
|
|
564
|
-
];
|
|
565
|
-
if (capabilityFragments && capabilityFragments.length > 0) {
|
|
566
|
-
parts.push(capabilityFragments.join('\n\n'));
|
|
567
|
-
}
|
|
568
|
-
parts.push(buildSkillReferences(workspaceDir));
|
|
569
|
-
const systemPrompt = parts.join('\n\n');
|
|
559
|
+
const systemPrompt = buildCodexPlatformInstructions(workspaceDir, agentIdentity, capabilityFragments);
|
|
570
560
|
// Reference copy the agent can read as a file. The prompt itself is
|
|
571
561
|
// delivered per-thread via the app-server `developerInstructions` param —
|
|
572
562
|
// deliberately NOT via workspace `.codex/config.toml`, which codex only
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/codex-agent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.55.1",
|
|
4
4
|
"description": "Codex CLI bridge runtime for self-hosted Parall agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"src"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@parall/
|
|
29
|
-
"@parall/
|
|
30
|
-
"@parall/
|
|
28
|
+
"@parall/cli": "1.55.1",
|
|
29
|
+
"@parall/sdk": "1.55.1",
|
|
30
|
+
"@parall/agent-core": "1.55.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.0.0",
|
package/src/workspace.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
import {
|
|
4
|
-
BRIDGE_WORKSPACE_INSTRUCTIONS,
|
|
5
|
-
PRLL_BEHAVIOR,
|
|
6
|
-
PRLL_REFERENCE_GUIDE,
|
|
7
|
-
buildIdentity,
|
|
8
|
-
buildSkillReferences,
|
|
9
|
-
writeSkillFiles,
|
|
10
|
-
} from '@parall/agent-core';
|
|
11
3
|
import type { AgentIdentity } from '@parall/agent-core';
|
|
4
|
+
import { buildCodexPlatformInstructions, writeSkillFiles } from '@parall/agent-core';
|
|
12
5
|
import type { AuthorshipProof } from './legacy-workspace-config-migration.js';
|
|
13
6
|
import { runLegacyWorkspaceConfigMigration } from './legacy-workspace-config-migration.js';
|
|
14
7
|
|
|
@@ -576,17 +569,11 @@ export function writeCodexSystemPrompt(
|
|
|
576
569
|
agentIdentity?: AgentIdentity,
|
|
577
570
|
capabilityFragments?: string[],
|
|
578
571
|
): string {
|
|
579
|
-
const
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
];
|
|
585
|
-
if (capabilityFragments && capabilityFragments.length > 0) {
|
|
586
|
-
parts.push(capabilityFragments.join('\n\n'));
|
|
587
|
-
}
|
|
588
|
-
parts.push(buildSkillReferences(workspaceDir));
|
|
589
|
-
const systemPrompt = parts.join('\n\n');
|
|
572
|
+
const systemPrompt = buildCodexPlatformInstructions(
|
|
573
|
+
workspaceDir,
|
|
574
|
+
agentIdentity,
|
|
575
|
+
capabilityFragments,
|
|
576
|
+
);
|
|
590
577
|
|
|
591
578
|
// Reference copy the agent can read as a file. The prompt itself is
|
|
592
579
|
// delivered per-thread via the app-server `developerInstructions` param —
|