@opencorelabs/lucidity 0.6.0 → 0.8.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/README.md +18 -3
- package/dist/assets/speech/lucidity-speech +0 -0
- package/dist/automations/agent.d.ts.map +1 -1
- package/dist/automations/agent.js +2 -0
- package/dist/automations/designer.d.ts +1 -1
- package/dist/chat/server.d.ts +1 -0
- package/dist/chat/server.d.ts.map +1 -1
- package/dist/chat/server.js +6 -1
- package/dist/coding/conduct.d.ts +1 -22
- package/dist/coding/conduct.d.ts.map +1 -1
- package/dist/coding/conduct.js +9 -94
- package/dist/coding/runCodeTurn.d.ts +3 -16
- package/dist/coding/runCodeTurn.d.ts.map +1 -1
- package/dist/coding/runCodeTurn.js +157 -165
- package/dist/coding/workspaceRegistry.d.ts +24 -0
- package/dist/coding/workspaceRegistry.d.ts.map +1 -0
- package/dist/coding/workspaceRegistry.js +230 -0
- package/dist/coding/worktree.d.ts +11 -14
- package/dist/coding/worktree.d.ts.map +1 -1
- package/dist/coding/worktree.js +41 -21
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/daemonLease.d.ts +12 -0
- package/dist/daemonLease.d.ts.map +1 -0
- package/dist/daemonLease.js +32 -0
- package/dist/goals/assessment.d.ts +115 -0
- package/dist/goals/assessment.d.ts.map +1 -0
- package/dist/goals/assessment.js +67 -0
- package/dist/goals/notes.d.ts +18 -0
- package/dist/goals/notes.d.ts.map +1 -0
- package/dist/goals/notes.js +72 -0
- package/dist/index.js +63 -15
- package/dist/jobs/goals.d.ts +15 -0
- package/dist/jobs/goals.d.ts.map +1 -0
- package/dist/jobs/goals.js +286 -0
- package/dist/jobs/weeklyReview.d.ts.map +1 -1
- package/dist/jobs/weeklyReview.js +3 -2
- package/dist/queue.d.ts +1 -0
- package/dist/queue.d.ts.map +1 -1
- package/dist/queue.js +4 -0
- package/dist/room/client.d.ts +5 -0
- package/dist/room/client.d.ts.map +1 -1
- package/dist/room/client.js +124 -107
- package/dist/room/computer.d.ts.map +1 -1
- package/dist/room/computer.js +2 -0
- package/dist/room/durablePublish.d.ts +6 -0
- package/dist/room/durablePublish.d.ts.map +1 -0
- package/dist/room/durablePublish.js +19 -0
- package/dist/room/incidents.d.ts +1 -1
- package/dist/room/incidents.d.ts.map +1 -1
- package/dist/room/incidents.js +14 -7
- package/dist/room/turnQueue.d.ts.map +1 -1
- package/dist/room/turnQueue.js +27 -24
- package/dist/runtimeStore.d.ts +44 -0
- package/dist/runtimeStore.d.ts.map +1 -0
- package/dist/runtimeStore.js +188 -0
- package/dist/setup/server.js +1 -1
- package/dist/turnLog.d.ts +10 -40
- package/dist/turnLog.d.ts.map +1 -1
- package/dist/turnLog.js +33 -56
- package/package.json +4 -4
- package/src/automations/agent.ts +2 -0
- package/src/chat/server.ts +7 -1
- package/src/coding/conduct.ts +10 -147
- package/src/coding/runCodeTurn.ts +42 -61
- package/src/coding/workspaceRegistry.ts +210 -0
- package/src/coding/worktree.ts +44 -20
- package/src/config.ts +2 -0
- package/src/daemonLease.ts +33 -0
- package/src/goals/assessment.ts +106 -0
- package/src/goals/notes.ts +88 -0
- package/src/index.ts +63 -18
- package/src/jobs/goals.ts +384 -0
- package/src/jobs/weeklyReview.ts +4 -3
- package/src/queue.ts +4 -0
- package/src/room/client.ts +85 -80
- package/src/room/computer.ts +2 -0
- package/src/room/durablePublish.ts +25 -0
- package/src/room/incidents.ts +16 -8
- package/src/room/turnQueue.ts +26 -27
- package/src/runtimeStore.ts +190 -0
- package/src/setup/server.ts +1 -1
- package/src/turnLog.ts +32 -75
- package/vendor/decisions/dist/dayPlan.d.ts +9 -0
- package/vendor/decisions/dist/dayPlan.js +82 -0
- package/vendor/decisions/dist/index.d.ts +1 -0
- package/vendor/decisions/dist/index.js +1 -0
- package/vendor/decisions/dist/jev.js +3 -1
- package/vendor/decisions/src/dayPlan.ts +80 -0
- package/vendor/decisions/src/index.ts +1 -0
- package/vendor/decisions/src/jev.ts +3 -1
- package/vendor/mcp-server/dist/index.js +2 -0
- package/vendor/mcp-server/dist/tools/goals.d.ts +4 -0
- package/vendor/mcp-server/dist/tools/goals.d.ts.map +1 -0
- package/vendor/mcp-server/dist/tools/goals.js +38 -0
- package/vendor/mcp-server/package.json +1 -1
- package/vendor/mcp-server/src/index.ts +2 -0
- package/vendor/mcp-server/src/tools/goals.ts +62 -0
- package/vendor/runtime/README.md +2 -2
- package/vendor/runtime/dist/executor/asyncQueue.d.ts +1 -0
- package/vendor/runtime/dist/executor/asyncQueue.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/asyncQueue.js +3 -0
- package/vendor/runtime/dist/executor/claudeAgent.d.ts +1 -1
- package/vendor/runtime/dist/executor/claudeAgent.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/claudeAgent.js +25 -10
- package/vendor/runtime/dist/executor/codex.d.ts +1 -0
- package/vendor/runtime/dist/executor/codex.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codex.js +69 -36
- package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts +4 -1
- package/vendor/runtime/dist/executor/codexProtocol/FunctionCallOutputContentItem.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts +3 -0
- package/vendor/runtime/dist/executor/codexProtocol/Personality.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/PlanType.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts +6 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/CyberAccessProgram.js +2 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts +5 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/GetAccountRateLimitsResponse.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts +8 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/Model.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts +11 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/ModelAccessPrograms.js +2 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts +4 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/RateLimitSnapshot.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts +2 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/ReviewStartParams.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts +4 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadResumeParams.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts +3 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/ThreadStartParams.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts +7 -2
- package/vendor/runtime/dist/executor/codexProtocol/v2/TurnStartParams.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts +3 -0
- package/vendor/runtime/dist/executor/codexProtocol/v2/UserInput.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexRpc.d.ts +10 -3
- package/vendor/runtime/dist/executor/codexRpc.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/codexRpc.js +18 -3
- package/vendor/runtime/dist/executor/codexSessions.d.ts +30 -0
- package/vendor/runtime/dist/executor/codexSessions.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/codexSessions.js +88 -0
- package/vendor/runtime/dist/executor/health.d.ts +2 -1
- package/vendor/runtime/dist/executor/health.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/health.js +17 -5
- package/vendor/runtime/dist/executor/liveTurns.d.ts +2 -1
- package/vendor/runtime/dist/executor/liveTurns.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/liveTurns.js +12 -5
- package/vendor/runtime/dist/executor/ownership.d.ts +35 -0
- package/vendor/runtime/dist/executor/ownership.d.ts.map +1 -0
- package/vendor/runtime/dist/executor/ownership.js +99 -0
- package/vendor/runtime/dist/executor/providerRouter.d.ts +1 -0
- package/vendor/runtime/dist/executor/providerRouter.d.ts.map +1 -1
- package/vendor/runtime/dist/executor/providerRouter.js +5 -0
- package/vendor/runtime/dist/executor/types.d.ts +4 -0
- package/vendor/runtime/dist/executor/types.d.ts.map +1 -1
- package/vendor/runtime/dist/harness/index.d.ts +1 -0
- package/vendor/runtime/dist/harness/index.d.ts.map +1 -1
- package/vendor/runtime/dist/harness/index.js +12 -1
- package/vendor/runtime/dist/harness/types.d.ts +2 -1
- package/vendor/runtime/dist/harness/types.d.ts.map +1 -1
- package/vendor/runtime/dist/index.d.ts +1 -0
- package/vendor/runtime/dist/index.d.ts.map +1 -1
- package/vendor/runtime/dist/index.js +1 -0
- package/vendor/runtime/dist/prompts/dayPlanning.d.ts +44 -0
- package/vendor/runtime/dist/prompts/dayPlanning.d.ts.map +1 -0
- package/vendor/runtime/dist/prompts/dayPlanning.js +42 -0
- package/vendor/runtime/src/executor/asyncQueue.ts +3 -0
- package/vendor/runtime/src/executor/claudeAgent.ts +20 -9
- package/vendor/runtime/src/executor/codex.ts +76 -44
- package/vendor/runtime/src/executor/codexProtocol/FunctionCallOutputContentItem.ts +1 -1
- package/vendor/runtime/src/executor/codexProtocol/Personality.ts +3 -0
- package/vendor/runtime/src/executor/codexProtocol/PlanType.ts +1 -1
- package/vendor/runtime/src/executor/codexProtocol/README.md +2 -2
- package/vendor/runtime/src/executor/codexProtocol/v2/CyberAccessProgram.ts +9 -0
- package/vendor/runtime/src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts +5 -0
- package/vendor/runtime/src/executor/codexProtocol/v2/Model.ts +11 -2
- package/vendor/runtime/src/executor/codexProtocol/v2/ModelAccessPrograms.ts +13 -0
- package/vendor/runtime/src/executor/codexProtocol/v2/RateLimitSnapshot.ts +5 -1
- package/vendor/runtime/src/executor/codexProtocol/v2/ReviewStartParams.ts +2 -0
- package/vendor/runtime/src/executor/codexProtocol/v2/ThreadResumeParams.ts +5 -1
- package/vendor/runtime/src/executor/codexProtocol/v2/ThreadStartParams.ts +4 -1
- package/vendor/runtime/src/executor/codexProtocol/v2/TurnStartParams.ts +7 -2
- package/vendor/runtime/src/executor/codexProtocol/v2/UserInput.ts +1 -1
- package/vendor/runtime/src/executor/codexRpc.ts +22 -4
- package/vendor/runtime/src/executor/codexSessions.ts +108 -0
- package/vendor/runtime/src/executor/health.ts +16 -6
- package/vendor/runtime/src/executor/liveTurns.ts +12 -5
- package/vendor/runtime/src/executor/ownership.ts +76 -0
- package/vendor/runtime/src/executor/providerRouter.ts +6 -0
- package/vendor/runtime/src/executor/types.ts +4 -0
- package/vendor/runtime/src/harness/index.ts +12 -1
- package/vendor/runtime/src/harness/types.ts +2 -1
- package/vendor/runtime/src/index.ts +1 -0
- package/vendor/runtime/src/prompts/dayPlanning.ts +46 -0
- package/vendor/shared/dist/agentCommands.d.ts +1 -0
- package/vendor/shared/dist/agentCommands.d.ts.map +1 -1
- package/vendor/shared/dist/cardStudio.d.ts +41 -0
- package/vendor/shared/dist/cardStudio.d.ts.map +1 -1
- package/vendor/shared/dist/cardStudio.js +13 -3
- package/vendor/shared/dist/commandLocal.d.ts.map +1 -1
- package/vendor/shared/dist/commandLocal.js +2 -0
- package/vendor/shared/dist/commands.d.ts +18 -0
- package/vendor/shared/dist/commands.d.ts.map +1 -1
- package/vendor/shared/dist/commands.js +2 -0
- package/vendor/shared/dist/computer.d.ts +7 -1
- package/vendor/shared/dist/computer.d.ts.map +1 -1
- package/vendor/shared/dist/computer.js +13 -2
- package/vendor/shared/dist/constants.d.ts +3 -3
- package/vendor/shared/dist/constants.d.ts.map +1 -1
- package/vendor/shared/dist/constants.js +5 -4
- package/vendor/shared/dist/dayPlan.d.ts +86 -0
- package/vendor/shared/dist/dayPlan.d.ts.map +1 -0
- package/vendor/shared/dist/dayPlan.js +46 -0
- package/vendor/shared/dist/dayPlanning.d.ts +139 -0
- package/vendor/shared/dist/dayPlanning.d.ts.map +1 -0
- package/vendor/shared/dist/dayPlanning.js +67 -0
- package/vendor/shared/dist/goalNotes.d.ts +4 -0
- package/vendor/shared/dist/goalNotes.d.ts.map +1 -0
- package/vendor/shared/dist/goalNotes.js +23 -0
- package/vendor/shared/dist/goals.d.ts +835 -0
- package/vendor/shared/dist/goals.d.ts.map +1 -0
- package/vendor/shared/dist/goals.js +198 -0
- package/vendor/shared/dist/index.d.ts +5 -0
- package/vendor/shared/dist/index.d.ts.map +1 -1
- package/vendor/shared/dist/index.js +5 -0
- package/vendor/shared/dist/schemas/harness.d.ts +155 -0
- package/vendor/shared/dist/schemas/harness.d.ts.map +1 -1
- package/vendor/shared/dist/schemas/harness.js +8 -0
- package/vendor/shared/dist/workspaces.d.ts +138 -0
- package/vendor/shared/dist/workspaces.d.ts.map +1 -0
- package/vendor/shared/dist/workspaces.js +40 -0
- package/vendor/shared/src/agentCommands.ts +1 -0
- package/vendor/shared/src/cardStudio.ts +13 -3
- package/vendor/shared/src/commandLocal.ts +2 -0
- package/vendor/shared/src/commands.ts +2 -0
- package/vendor/shared/src/computer.ts +18 -2
- package/vendor/shared/src/constants.ts +5 -4
- package/vendor/shared/src/dayPlan.ts +81 -0
- package/vendor/shared/src/dayPlanning.ts +77 -0
- package/vendor/shared/src/goalNotes.ts +23 -0
- package/vendor/shared/src/goals.ts +237 -0
- package/vendor/shared/src/index.ts +6 -0
- package/vendor/shared/src/schemas/harness.ts +8 -0
- package/vendor/shared/src/workspaces.ts +48 -0
- package/dist/coding/fleetIntegrate.d.ts +0 -37
- package/dist/coding/fleetIntegrate.d.ts.map +0 -1
- package/dist/coding/fleetIntegrate.js +0 -64
- package/dist/coding/openFleetPr.d.ts +0 -41
- package/dist/coding/openFleetPr.d.ts.map +0 -1
- package/dist/coding/openFleetPr.js +0 -121
- package/src/coding/fleetIntegrate.ts +0 -95
- package/src/coding/openFleetPr.ts +0 -148
|
@@ -9,6 +9,7 @@ import { registerTaskTrashTools } from './tools/taskTrash.js';
|
|
|
9
9
|
import { registerTaskOccurrenceTools } from './tools/taskOccurrences.js';
|
|
10
10
|
import { setClientNameReader } from './client.js';
|
|
11
11
|
import { registerProjectTools } from './tools/projects.js';
|
|
12
|
+
import { registerGoalTools } from './tools/goals.js';
|
|
12
13
|
import { registerQueryTools } from './tools/queries.js';
|
|
13
14
|
import { registerMilestoneTools } from './tools/milestones.js';
|
|
14
15
|
import { registerCommentTools } from './tools/comments.js';
|
|
@@ -41,6 +42,7 @@ registerTaskActivityTools(server);
|
|
|
41
42
|
registerTaskTrashTools(server);
|
|
42
43
|
registerTaskOccurrenceTools(server);
|
|
43
44
|
registerProjectTools(server);
|
|
45
|
+
registerGoalTools(server);
|
|
44
46
|
registerQueryTools(server);
|
|
45
47
|
registerMilestoneTools(server);
|
|
46
48
|
registerCommentTools(server);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
+
import { z } from '#lucidity-zod';
|
|
3
|
+
import { apiRequest } from '../client.js';
|
|
4
|
+
// This independently published package keeps its small API projection local.
|
|
5
|
+
interface GoalsSnapshot {
|
|
6
|
+
goals: {
|
|
7
|
+
goal: { id: string; [key: string]: unknown };
|
|
8
|
+
checks: { cadence: string; [key: string]: unknown }[];
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Discussion can inspect goals; it cannot approve its own proposed work. */
|
|
13
|
+
export function registerGoalTools(server: McpServer) {
|
|
14
|
+
const annotations = {
|
|
15
|
+
readOnlyHint: true,
|
|
16
|
+
destructiveHint: false,
|
|
17
|
+
idempotentHint: true,
|
|
18
|
+
openWorldHint: false,
|
|
19
|
+
};
|
|
20
|
+
server.tool(
|
|
21
|
+
'list_goals',
|
|
22
|
+
'List personal goals, their timeframes and latest dated observations. Missing checks do not mean inactivity.',
|
|
23
|
+
{},
|
|
24
|
+
annotations,
|
|
25
|
+
async () => {
|
|
26
|
+
const result = await apiRequest<GoalsSnapshot>('/api/goals');
|
|
27
|
+
return {
|
|
28
|
+
content: [
|
|
29
|
+
{
|
|
30
|
+
type: 'text' as const,
|
|
31
|
+
text: JSON.stringify(
|
|
32
|
+
result.goals.map(({ goal, checks }) => ({
|
|
33
|
+
goal,
|
|
34
|
+
latestCheck:
|
|
35
|
+
checks.find((check) => check.cadence === 'daily') ?? null,
|
|
36
|
+
})),
|
|
37
|
+
),
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
);
|
|
43
|
+
server.tool(
|
|
44
|
+
'get_goal',
|
|
45
|
+
'Read one personal goal with linked sources, evidence, reviews and draft proposals. Work must be approved in the app; a context link is not permission to act.',
|
|
46
|
+
{ id: z.string().uuid() },
|
|
47
|
+
annotations,
|
|
48
|
+
async ({ id }) => {
|
|
49
|
+
const result = await apiRequest<GoalsSnapshot>('/api/goals');
|
|
50
|
+
const goal = result.goals.find((detail) => detail.goal.id === id);
|
|
51
|
+
return {
|
|
52
|
+
content: [
|
|
53
|
+
{
|
|
54
|
+
type: 'text' as const,
|
|
55
|
+
text: goal ? JSON.stringify(goal) : 'Goal not found.',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
isError: !goal,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
);
|
|
62
|
+
}
|
package/vendor/runtime/README.md
CHANGED
|
@@ -17,9 +17,9 @@ The runtime just turns data into prompts and runs them through an executor.
|
|
|
17
17
|
|
|
18
18
|
**Executor seam** — the boundary between prompt assembly and the model engine:
|
|
19
19
|
- `AgentExecutor`: buffered/streamed runs, active-turn correction, model discovery, and disposal.
|
|
20
|
-
- `ClaudeAgentExecutor`: pinned Agent SDK 0.3.
|
|
20
|
+
- `ClaudeAgentExecutor`: pinned Agent SDK 0.3.287 and its bundled runtime, with subscription
|
|
21
21
|
authentication, streaming input, cancellation, and tool permissions.
|
|
22
|
-
- `CodexExecutor`: pinned Codex 0.
|
|
22
|
+
- `CodexExecutor`: pinned Codex 0.160.0 App Server over local stdio, with ChatGPT login,
|
|
23
23
|
generated protocol types, thread resume, steering, interruption, and scoped MCP tools.
|
|
24
24
|
- `HealthAwareExecutor`: observes authentication and inference failures on the same adapters
|
|
25
25
|
used for interactive and scheduled work. Catalog success leaves allowance unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncQueue.d.ts","sourceRoot":"","sources":["../../src/executor/asyncQueue.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,qBAAa,UAAU,CAAC,CAAC,CAAE,YAAW,aAAa,CAAC,CAAC,CAAC;IACpD,OAAO,CAAC,KAAK,CAAW;IACxB,OAAO,CAAC,IAAI,CAAC,CAAa;IAC1B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,KAAK,CAAC,CAAQ;IAEtB,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAKnB,GAAG,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"asyncQueue.d.ts","sourceRoot":"","sources":["../../src/executor/asyncQueue.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,qBAAa,UAAU,CAAC,CAAC,CAAE,YAAW,aAAa,CAAC,CAAC,CAAC;IACpD,OAAO,CAAC,KAAK,CAAW;IACxB,OAAO,CAAC,IAAI,CAAC,CAAa;IAC1B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,KAAK,CAAC,CAAQ;IAEtB,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAKnB,GAAG,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;IAKxB,cAAc,IAAI,IAAI;IAGf,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC;CAenD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type AgentCommandOption } from '@lucidity/shared';
|
|
2
2
|
import { query, type Options, type AccountInfo } from '@anthropic-ai/claude-agent-sdk';
|
|
3
3
|
import type { AgentExecutor, ExecutorRunInput, ExecutorStreamEvent, ExecutorResult, ExecutorModel } from './types.js';
|
|
4
|
-
export declare const CLAUDE_AGENT_SDK_VERSION = "0.3.
|
|
4
|
+
export declare const CLAUDE_AGENT_SDK_VERSION = "0.3.287";
|
|
5
5
|
export declare function claudeSubscriptionEnv(oauthToken?: string): NodeJS.ProcessEnv;
|
|
6
6
|
export declare function claudeAgentOptions(input: ExecutorRunInput, oauthToken?: string): Options;
|
|
7
7
|
/** Check resolved authentication after settings load, before sending any prompt. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudeAgent.d.ts","sourceRoot":"","sources":["../../src/executor/claudeAgent.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,KAAK,EACL,KAAK,OAAO,EAGZ,KAAK,WAAW,EACjB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,wBAAwB,YAAY,CAAC;AAIlD,wBAAgB,qBAAqB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,UAAU,CAa5E;AA4BD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,gBAAgB,EACvB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,
|
|
1
|
+
{"version":3,"file":"claud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AC;IAiC7G,GAAG,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC;IAMpD,SAAS,CACd,KAAK,EAAE,gBAAgB,GACtB,aAAa,CAAC,mBAAmB,CAAC;CA4JtC"}
|
|
@@ -5,7 +5,7 @@ import { query, } from '@anthropic-ai/claude-agent-sdk';
|
|
|
5
5
|
import { stripUnsafeEnv } from './claudeCode.js';
|
|
6
6
|
import { AsyncQueue } from './asyncQueue.js';
|
|
7
7
|
import { LiveTurns } from './liveTurns.js';
|
|
8
|
-
export const CLAUDE_AGENT_SDK_VERSION = '0.3.
|
|
8
|
+
export const CLAUDE_AGENT_SDK_VERSION = '0.3.287';
|
|
9
9
|
const INTERACTIVE_TOOLS = ['AskUserQuestion', 'EnterPlanMode', 'ExitPlanMode'];
|
|
10
10
|
const WRITE_TOOLS = ['Bash', 'Write', 'Edit', 'NotebookEdit'];
|
|
11
11
|
export function claudeSubscriptionEnv(oauthToken) {
|
|
@@ -57,6 +57,7 @@ export function claudeAgentOptions(input, oauthToken) {
|
|
|
57
57
|
env: claudeSubscriptionEnv(oauthToken),
|
|
58
58
|
model: input.model,
|
|
59
59
|
effort: input.effort,
|
|
60
|
+
outputFormat: input.outputSchema ? { type: 'json_schema', schema: input.outputSchema } : undefined,
|
|
60
61
|
resume: input.resume,
|
|
61
62
|
sessionId: input.resume ? undefined : input.sessionId,
|
|
62
63
|
systemPrompt: input.systemPrompt
|
|
@@ -162,7 +163,7 @@ export class ClaudeAgentExecutor {
|
|
|
162
163
|
return this.turns.interrupt(requestId);
|
|
163
164
|
}
|
|
164
165
|
async dispose() {
|
|
165
|
-
this.turns.dispose();
|
|
166
|
+
await this.turns.dispose();
|
|
166
167
|
}
|
|
167
168
|
/** Start the SDK control channel without ever supplying an inference prompt. */
|
|
168
169
|
async models() {
|
|
@@ -201,6 +202,7 @@ export class ClaudeAgentExecutor {
|
|
|
201
202
|
incoming.end();
|
|
202
203
|
abortController.abort();
|
|
203
204
|
active.close();
|
|
205
|
+
await active.return();
|
|
204
206
|
}
|
|
205
207
|
}
|
|
206
208
|
async commands(input = {}) {
|
|
@@ -230,6 +232,7 @@ export class ClaudeAgentExecutor {
|
|
|
230
232
|
incoming.end();
|
|
231
233
|
abortController.abort();
|
|
232
234
|
active.close();
|
|
235
|
+
await active.return();
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
async run(input) {
|
|
@@ -330,23 +333,30 @@ export class ClaudeAgentExecutor {
|
|
|
330
333
|
}
|
|
331
334
|
}
|
|
332
335
|
else if (event.type === 'result') {
|
|
336
|
+
// A priority correction interrupts the old native loop before its own loop
|
|
337
|
+
// starts. The pinned SDK reports this intermediate result before echoing
|
|
338
|
+
// the queued correction. Drain it without turning it into a Lucidity terminal.
|
|
339
|
+
if (pending.size && event.subtype === 'error_during_execution' &&
|
|
340
|
+
event.errors.length === 1 &&
|
|
341
|
+
event.errors[0] === '[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null')
|
|
342
|
+
continue;
|
|
333
343
|
if (event.subtype !== 'success' || event.is_error) {
|
|
334
|
-
throw new Error((
|
|
335
|
-
|
|
336
|
-
? event.result
|
|
337
|
-
: event.errors.join('\n'))) ||
|
|
338
|
-
`Claude could not complete the turn (${event.subtype}). Check subscription access and usage limits.`);
|
|
344
|
+
throw new Error((event.subtype === 'success' ? event.result : event.errors.join('\n')) ||
|
|
345
|
+
`Claude turn ended with ${event.subtype}.`);
|
|
339
346
|
}
|
|
340
347
|
// A late priority message may become a subsequent loop in this same SDK
|
|
341
348
|
// query. Keep consuming until its echoed user message and result arrive.
|
|
342
349
|
if (pending.size)
|
|
343
350
|
continue;
|
|
351
|
+
if (input.outputSchema && event.structured_output === undefined)
|
|
352
|
+
throw new Error('Claude did not return the requested structured result.');
|
|
344
353
|
ended = true;
|
|
345
354
|
if (command)
|
|
346
355
|
yield { type: 'tool_call', name: `/${commandName}`, phase: 'end' };
|
|
347
356
|
yield {
|
|
348
357
|
type: 'done',
|
|
349
|
-
text:
|
|
358
|
+
text: (input.outputSchema ? JSON.stringify(event.structured_output) : '') ||
|
|
359
|
+
event.result.trim() ||
|
|
350
360
|
commandOutput.trim() ||
|
|
351
361
|
(compacted
|
|
352
362
|
? 'Conversation compacted. You can continue here.'
|
|
@@ -373,8 +383,13 @@ export class ClaudeAgentExecutor {
|
|
|
373
383
|
finally {
|
|
374
384
|
ended = true;
|
|
375
385
|
incoming.end();
|
|
376
|
-
|
|
377
|
-
|
|
386
|
+
try {
|
|
387
|
+
active?.close();
|
|
388
|
+
await active?.return();
|
|
389
|
+
}
|
|
390
|
+
finally {
|
|
391
|
+
owner.close();
|
|
392
|
+
}
|
|
378
393
|
}
|
|
379
394
|
}
|
|
380
395
|
}
|
|
@@ -9,6 +9,7 @@ export declare class CodexExecutor implements AgentExecutor {
|
|
|
9
9
|
readonly name = "codex-app-server";
|
|
10
10
|
readonly strictResume = true;
|
|
11
11
|
private readonly turns;
|
|
12
|
+
private readonly sessions;
|
|
12
13
|
constructor(options?: {
|
|
13
14
|
command?: string;
|
|
14
15
|
connect?: (cwd?: string) => CodexConnection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../src/executor/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAGL,KAAK,eAAe,EAErB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../src/executor/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAGL,KAAK,eAAe,EAErB,MAAM,eAAe,CAAC;AAOvB,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AA6BjF,uEAAuE;AACvE,wBAAgB,cAAc,CAC5B,KAAK,EAAE,gBAAgB,EACvB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAmG1C;AAED,qBAAa,aAAc,YAAW,aAAa;IAM/C,OAAO,CAAC,QAAQ,CAAC,OAAO;IAL1B,QAAQ,CAAC,IAAI,sBAAsB;IACnC,QAAQ,CAAC,YAAY,QAAQ;IAC7B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmB;IACzC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAuB;gBAE7B,OAAO,GAAE;QACxB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,eAAe,CAAC;KACxC;IAER,OAAO,CAAC,OAAO;IAKf,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAG/B,SAAS,CAAC,SAAS,EAAE,MAAM;IAG3B,OAAO;IAIP,MAAM,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;IAgClC,QAAQ,CACZ,KAAK,GAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,GAAG,gBAAgB,CAAM,GAC3D,OAAO,CAAC,kBAAkB,EAAE,CAAC;IA2C1B,GAAG,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC;IAMpD,SAAS,CACd,KAAK,EAAE,gBAAgB,GACtB,aAAa,CAAC,mBAAmB,CAAC;CA6YtC"}
|
|
@@ -3,6 +3,7 @@ import { readFileSync } from 'node:fs';
|
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
4
|
import { CodexRpc, initializeCodex, } from './codexRpc.js';
|
|
5
5
|
import { LiveTurns, abortError } from './liveTurns.js';
|
|
6
|
+
import { CodexSessions, codexBindingFingerprint, } from './codexSessions.js';
|
|
6
7
|
// App-server does not persist an empty thread until its first turn. Keep a durable
|
|
7
8
|
// reset marker in Lucidity's provider session envelope until that turn starts.
|
|
8
9
|
const EMPTY_SESSION_PREFIX = 'lucidity-codex-empty:';
|
|
@@ -101,6 +102,7 @@ export class CodexExecutor {
|
|
|
101
102
|
name = 'codex-app-server';
|
|
102
103
|
strictResume = true;
|
|
103
104
|
turns = new LiveTurns();
|
|
105
|
+
sessions = new CodexSessions();
|
|
104
106
|
constructor(options = {}) {
|
|
105
107
|
this.options = options;
|
|
106
108
|
}
|
|
@@ -114,7 +116,7 @@ export class CodexExecutor {
|
|
|
114
116
|
return this.turns.interrupt(requestId);
|
|
115
117
|
}
|
|
116
118
|
async dispose() {
|
|
117
|
-
this.turns.dispose();
|
|
119
|
+
await Promise.all([this.turns.dispose(), this.sessions.dispose()]);
|
|
118
120
|
}
|
|
119
121
|
async models() {
|
|
120
122
|
const rpc = this.connect();
|
|
@@ -141,7 +143,7 @@ export class CodexExecutor {
|
|
|
141
143
|
return models;
|
|
142
144
|
}
|
|
143
145
|
finally {
|
|
144
|
-
rpc.close();
|
|
146
|
+
await rpc.close();
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
async commands(input = {}) {
|
|
@@ -230,40 +232,39 @@ export class CodexExecutor {
|
|
|
230
232
|
let threadId = '';
|
|
231
233
|
let turnId = '';
|
|
232
234
|
let ended = false;
|
|
233
|
-
|
|
234
|
-
let
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
catch (error) {
|
|
250
|
-
rpc.close();
|
|
251
|
-
throw error;
|
|
252
|
-
}
|
|
235
|
+
let rpc;
|
|
236
|
+
let thread;
|
|
237
|
+
let fingerprint = '';
|
|
238
|
+
let reusable = false;
|
|
239
|
+
const owner = this.turns.open(input, async (text) => {
|
|
240
|
+
if (command)
|
|
241
|
+
throw new Error('Wait for the command to finish before sending a message.');
|
|
242
|
+
if (!rpc || !turnId || ended)
|
|
243
|
+
throw new Error('Codex has no active turn to steer.');
|
|
244
|
+
const params = {
|
|
245
|
+
threadId,
|
|
246
|
+
expectedTurnId: turnId,
|
|
247
|
+
input: userInput({ userPrompt: text }),
|
|
248
|
+
};
|
|
249
|
+
await rpc.request('turn/steer', params);
|
|
250
|
+
});
|
|
253
251
|
const abort = () => {
|
|
252
|
+
const active = rpc;
|
|
253
|
+
if (!active)
|
|
254
|
+
return;
|
|
254
255
|
if (turnId && !ended) {
|
|
255
|
-
void
|
|
256
|
+
void active
|
|
256
257
|
.request('turn/interrupt', { threadId, turnId })
|
|
257
258
|
.catch(() => { })
|
|
258
|
-
.finally(() =>
|
|
259
|
-
const timer = setTimeout(() =>
|
|
259
|
+
.finally(() => active.close());
|
|
260
|
+
const timer = setTimeout(() => active.close(), 1000);
|
|
260
261
|
timer.unref();
|
|
261
262
|
}
|
|
262
263
|
else
|
|
263
|
-
|
|
264
|
+
active.close();
|
|
264
265
|
};
|
|
265
266
|
owner.controller.signal.addEventListener('abort', abort, { once: true });
|
|
266
|
-
|
|
267
|
+
const onRequest = async (request) => {
|
|
267
268
|
const p = request.params ?? {};
|
|
268
269
|
if (ended ||
|
|
269
270
|
owner.controller.signal.aborted ||
|
|
@@ -300,7 +301,17 @@ export class CodexExecutor {
|
|
|
300
301
|
};
|
|
301
302
|
try {
|
|
302
303
|
owner.check();
|
|
303
|
-
await
|
|
304
|
+
const pooled = await this.sessions.take(input.resume);
|
|
305
|
+
rpc = pooled?.rpc ?? this.connect(input.cwd);
|
|
306
|
+
rpc.onRequest = onRequest;
|
|
307
|
+
owner.check();
|
|
308
|
+
if (!pooled)
|
|
309
|
+
await initializeCodex(rpc);
|
|
310
|
+
else {
|
|
311
|
+
const account = await rpc.request('account/read', { refreshToken: false });
|
|
312
|
+
if (account.account?.type !== 'chatgpt')
|
|
313
|
+
throw new Error('Codex needs ChatGPT subscription login. Run codex login on this computer.');
|
|
314
|
+
}
|
|
304
315
|
const inherited = await rpc.request('config/read', { includeLayers: false, cwd: input.cwd });
|
|
305
316
|
const params = {
|
|
306
317
|
cwd: input.cwd,
|
|
@@ -322,12 +333,25 @@ export class CodexExecutor {
|
|
|
322
333
|
developerInstructions: input.systemPrompt,
|
|
323
334
|
config: codexRunConfig(input, inherited.config),
|
|
324
335
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
336
|
+
fingerprint = codexBindingFingerprint(params);
|
|
337
|
+
if (pooled && pooled.fingerprint !== fingerprint) {
|
|
338
|
+
// Permissions, MCP tools, model, cwd or instructions changed. A new transport
|
|
339
|
+
// resumes only after the old owner has fully exited.
|
|
340
|
+
await rpc.close();
|
|
341
|
+
owner.check();
|
|
342
|
+
rpc = this.connect(input.cwd);
|
|
343
|
+
rpc.onRequest = onRequest;
|
|
344
|
+
await initializeCodex(rpc);
|
|
345
|
+
}
|
|
346
|
+
thread =
|
|
347
|
+
pooled?.fingerprint === fingerprint
|
|
348
|
+
? pooled.thread
|
|
349
|
+
: input.resume && !isEmptySession(input.resume)
|
|
350
|
+
? await rpc.request('thread/resume', {
|
|
351
|
+
...params,
|
|
352
|
+
threadId: input.resume,
|
|
353
|
+
})
|
|
354
|
+
: await rpc.request('thread/start', params);
|
|
331
355
|
threadId = thread.thread.id;
|
|
332
356
|
const sessionId = isEmptySession(input.resume) &&
|
|
333
357
|
command &&
|
|
@@ -389,6 +413,7 @@ export class CodexExecutor {
|
|
|
389
413
|
input: userInput(input),
|
|
390
414
|
model: input.model,
|
|
391
415
|
effort: input.effort,
|
|
416
|
+
outputSchema: input.outputSchema,
|
|
392
417
|
};
|
|
393
418
|
if (command?.name === 'compact') {
|
|
394
419
|
yield {
|
|
@@ -472,6 +497,7 @@ export class CodexExecutor {
|
|
|
472
497
|
throw abortError();
|
|
473
498
|
if (completed.status !== 'completed')
|
|
474
499
|
throw new Error(completed.error?.message ?? `Codex turn ${completed.status}.`);
|
|
500
|
+
reusable = true;
|
|
475
501
|
if (command)
|
|
476
502
|
yield {
|
|
477
503
|
type: 'tool_call',
|
|
@@ -499,8 +525,15 @@ export class CodexExecutor {
|
|
|
499
525
|
finally {
|
|
500
526
|
ended = true;
|
|
501
527
|
owner.controller.signal.removeEventListener('abort', abort);
|
|
502
|
-
|
|
503
|
-
|
|
528
|
+
try {
|
|
529
|
+
if (rpc && reusable && thread && !owner.controller.signal.aborted)
|
|
530
|
+
await this.sessions.keep({ rpc, thread, fingerprint });
|
|
531
|
+
else
|
|
532
|
+
await rpc?.close();
|
|
533
|
+
}
|
|
534
|
+
finally {
|
|
535
|
+
owner.close();
|
|
536
|
+
}
|
|
504
537
|
}
|
|
505
538
|
}
|
|
506
539
|
}
|
|
@@ -8,9 +8,12 @@ export type FunctionCallOutputContentItem = {
|
|
|
8
8
|
text: string;
|
|
9
9
|
} | {
|
|
10
10
|
"type": "input_image";
|
|
11
|
-
image_url: string;
|
|
12
11
|
detail?: ImageDetail;
|
|
12
|
+
} & ({
|
|
13
|
+
image_url: string;
|
|
13
14
|
} | {
|
|
15
|
+
file_id: string;
|
|
16
|
+
}) | {
|
|
14
17
|
"type": "input_audio";
|
|
15
18
|
audio_url: string;
|
|
16
19
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionCallOutputContentItem.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/FunctionCallOutputContentItem.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,
|
|
1
|
+
{"version":3,"file":"FunctionCallOutputContentItem.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/FunctionCallOutputContentItem.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAC;CAAE,GAAG,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;CAAE,CAAC,GAAG;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,mBAAmB,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAC;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Personality.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/Personality.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"Personality.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/Personality.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown";
|
|
1
|
+
export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "promax" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown";
|
|
2
2
|
//# sourceMappingURL=PlanType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanType.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/PlanType.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,6BAA6B,GAAG,iCAAiC,GAAG,UAAU,GAAG,OAAO,GAAG,2BAA2B,GAAG,4BAA4B,GAAG,YAAY,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"PlanType.d.ts","sourceRoot":"","sources":["../../../src/executor/codexProtocol/PlanType.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,6BAA6B,GAAG,iCAAiC,GAAG,UAAU,GAAG,OAAO,GAAG,2BAA2B,GAAG,4BAA4B,GAAG,YAAY,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requested cyber treatment for a ChatGPT-authenticated Codex turn.
|
|
3
|
+
* Authorization and model-tier restrictions remain server-owned.
|
|
4
|
+
*/
|
|
5
|
+
export type CyberAccessProgram = "standard" | "daybreakBlue" | "daybreakRed";
|
|
6
|
+
//# sourceMappingURL=CyberAccessProgram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CyberAccessProgram.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/CyberAccessProgram.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC"}
|
|
@@ -2,6 +2,11 @@ import type { JsonValue } from "../serde_json/JsonValue.js";
|
|
|
2
2
|
import type { RateLimitResetCreditsSummary } from "./RateLimitResetCreditsSummary.js";
|
|
3
3
|
import type { RateLimitSnapshot } from "./RateLimitSnapshot.js";
|
|
4
4
|
export type GetAccountRateLimitsResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Backend permission for ordinary included usage, validated against the active account.
|
|
7
|
+
* Null means unavailable; clients must not infer recovery from percentages or reset times.
|
|
8
|
+
*/
|
|
9
|
+
ordinaryUsageAllowed: boolean | null;
|
|
5
10
|
/**
|
|
6
11
|
* Backward-compatible single-bucket view; mirrors the historical payload.
|
|
7
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAccountRateLimitsResponse.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,4BAA4B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE;SAAG,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,iBAAiB;KAAE,GAAG,IAAI,CAAC;IAAC,qBAAqB,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAChI;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"GetAccountRateLimitsResponse.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/GetAccountRateLimitsResponse.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,4BAA4B,GAAG;IAC3C;;;OAGG;IACH,oBAAoB,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE;SAAG,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,iBAAiB;KAAE,GAAG,IAAI,CAAC;IAAC,qBAAqB,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAChI;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InputModality } from "../InputModality.js";
|
|
2
2
|
import type { ReasoningEffort } from "../ReasoningEffort.js";
|
|
3
|
+
import type { ModelAccessPrograms } from "./ModelAccessPrograms.js";
|
|
3
4
|
import type { ModelAvailabilityNux } from "./ModelAvailabilityNux.js";
|
|
4
5
|
import type { ModelServiceTier } from "./ModelServiceTier.js";
|
|
5
6
|
import type { ModelUpgradeInfo } from "./ModelUpgradeInfo.js";
|
|
@@ -18,6 +19,9 @@ export type Model = {
|
|
|
18
19
|
supportedReasoningEfforts: Array<ReasoningEffortOption>;
|
|
19
20
|
defaultReasoningEffort: ReasoningEffort;
|
|
20
21
|
inputModalities: Array<InputModality>;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Always false; models no longer support personality selection.
|
|
24
|
+
*/
|
|
21
25
|
supportsPersonality: boolean;
|
|
22
26
|
/**
|
|
23
27
|
* Multi-agent runtime declared by this model, when available.
|
|
@@ -32,6 +36,10 @@ export type Model = {
|
|
|
32
36
|
* Catalog default service tier id for this model, when one is configured.
|
|
33
37
|
*/
|
|
34
38
|
defaultServiceTier: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Null when the catalog does not provide access-program metadata.
|
|
41
|
+
*/
|
|
42
|
+
availableAccessPrograms: ModelAccessPrograms | null;
|
|
35
43
|
isDefault: boolean;
|
|
36
44
|
};
|
|
37
45
|
//# sourceMappingURL=Model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Model.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/Model.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,MAAM,KAAK,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAAC,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE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,OAAO,CAAC;IAC7B;;OAEG;IACH,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC5C;;OAEG;IACH,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC3E;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,uBAAuB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC;CAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CyberAccessProgram } from "./CyberAccessProgram.js";
|
|
2
|
+
/**
|
|
3
|
+
* Caller-specific explicit access programs advertised by model discovery.
|
|
4
|
+
*/
|
|
5
|
+
export type ModelAccessPrograms = {
|
|
6
|
+
/**
|
|
7
|
+
* Accepted explicit selections.
|
|
8
|
+
*/
|
|
9
|
+
cyber: Array<CyberAccessProgram>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=ModelAccessPrograms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelAccessPrograms.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/ModelAccessPrograms.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CAAE,CAAC"}
|
|
@@ -6,6 +6,10 @@ import type { SpendControlLimitSnapshot } from "./SpendControlLimitSnapshot.js";
|
|
|
6
6
|
export type RateLimitSnapshot = {
|
|
7
7
|
limitId: string | null;
|
|
8
8
|
limitName: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Normal model whose display name and reasoning options describe this quota alias.
|
|
11
|
+
*/
|
|
12
|
+
normalModelSlug: string | null;
|
|
9
13
|
primary: RateLimitWindow | null;
|
|
10
14
|
secondary: RateLimitWindow | null;
|
|
11
15
|
credits: CreditsSnapshot | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RateLimitSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/RateLimitSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,MAAM,MAAM,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,eAAe,EAAE,yBAAyB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"RateLimitSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/RateLimitSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,MAAM,MAAM,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,eAAe,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACvL;;OAEG;IACH,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAAC,oBAAoB,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAAE,CAAC"}
|
|
@@ -6,6 +6,8 @@ export type ReviewStartParams = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Where to run the review: inline (default) on the current thread or
|
|
8
8
|
* detached on a new thread (returned in `reviewThreadId`).
|
|
9
|
+
* Detached delivery is deprecated and emits `deprecationNotice`.
|
|
10
|
+
* Use `thread/start` followed by an inline review for a separate review thread.
|
|
9
11
|
*/
|
|
10
12
|
delivery?: ReviewDelivery | null;
|
|
11
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewStartParams.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/ReviewStartParams.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;IACzE
|
|
1
|
+
{"version":3,"file":"ReviewStartParams.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/ReviewStartParams.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;IACzE;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CAAE,CAAC"}
|
|
@@ -37,7 +37,10 @@ export type ThreadResumeParams = {
|
|
|
37
37
|
[key in string]?: JsonValue;
|
|
38
38
|
} | null;
|
|
39
39
|
baseInstructions?: string | null;
|
|
40
|
-
developerInstructions?: string | null;
|
|
40
|
+
developerInstructions?: string | null; /**
|
|
41
|
+
* @deprecated `friendly` and `pragmatic` no longer select a style.
|
|
42
|
+
* Changing this does not rewrite the thread's existing instructions.
|
|
43
|
+
*/
|
|
41
44
|
personality?: Personality | null; /**
|
|
42
45
|
* When true, return only thread metadata and live-resume state without
|
|
43
46
|
* populating `thread.turns`. This is useful when the client plans to call
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadResumeParams.d.ts","sourceRoot":"","sources":["../../../../src/executor/codexProtocol/v2/ThreadResumeParams.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;;OAEjD;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAA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