jg-agent-hq 3.0.0 → 4.0.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/CHANGELOG.md +9 -0
- package/README.md +13 -13
- package/api/README.md +91 -102
- package/dist/actions/actions.js +15 -0
- package/dist/cli/cli.js +26 -35
- package/dist/cli/utilities.d.ts +1 -1
- package/dist/cli/utilities.js +8 -25
- package/dist/collaboration/dispatch/types.d.ts +2 -2
- package/dist/contracts/actions/types.d.ts +4 -4
- package/dist/contracts/browser/index.d.ts +1 -3
- package/dist/contracts/browser/index.js +1 -3
- package/dist/contracts/browser/types.d.ts +15 -1447
- package/dist/contracts/browser/types.js +3 -112
- package/dist/contracts/index.d.ts +7 -9
- package/dist/contracts/index.js +5 -7
- package/dist/contracts/plans/index.d.ts +4 -6
- package/dist/contracts/plans/index.js +2 -4
- package/dist/contracts/plans/types.d.ts +38 -905
- package/dist/contracts/plans/types.js +13 -139
- package/dist/contracts/sessions/index.d.ts +2 -0
- package/dist/contracts/sessions/index.js +2 -0
- package/dist/contracts/sessions/types.d.ts +101 -0
- package/dist/contracts/sessions/types.js +43 -0
- package/dist/contracts/types.d.ts +461 -1047
- package/dist/contracts/types.js +8 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -3
- package/dist/plans/admission.d.ts +6 -6
- package/dist/plans/admission.js +1 -1
- package/dist/plans/authority.js +15 -13
- package/dist/plans/documents.d.ts +3 -17
- package/dist/plans/documents.js +6 -62
- package/dist/plans/files.d.ts +2 -2
- package/dist/plans/files.js +2 -4
- package/dist/plans/finalization.d.ts +6 -8
- package/dist/plans/finalization.js +25 -26
- package/dist/plans/index.d.ts +2 -3
- package/dist/plans/index.js +1 -2
- package/dist/plans/plans.d.ts +8 -8
- package/dist/plans/plans.js +33 -82
- package/dist/plans/projections.d.ts +2 -2
- package/dist/plans/projections.js +44 -82
- package/dist/plans/revisions.d.ts +4 -5
- package/dist/plans/revisions.js +5 -44
- package/dist/plans/types.d.ts +0 -281
- package/dist/plans/types.js +2 -30
- package/dist/plans/utilities.js +2 -11
- package/dist/providers/claude/agents/agents.d.ts +16 -0
- package/dist/providers/claude/agents/agents.js +80 -0
- package/dist/providers/claude/agents/constants.d.ts +3 -0
- package/dist/providers/claude/agents/constants.js +4 -0
- package/dist/providers/claude/agents/index.d.ts +1 -0
- package/dist/providers/claude/agents/index.js +2 -0
- package/dist/providers/claude/agents/types.d.ts +14 -0
- package/dist/providers/claude/agents/types.js +9 -0
- package/dist/providers/claude/history/history.model.js +2 -0
- package/dist/providers/claude/history/types.d.ts +92 -368
- package/dist/providers/claude/index.d.ts +1 -0
- package/dist/providers/claude/index.js +2 -0
- package/dist/providers/codex/adapter.d.ts +1 -1
- package/dist/providers/codex/adapter.js +26 -3
- package/dist/providers/codex/codex.js +47 -18
- package/dist/providers/codex/events.d.ts +2 -1
- package/dist/providers/codex/events.js +8 -3
- package/dist/providers/codex/index.d.ts +1 -1
- package/dist/providers/codex/index.js +1 -1
- package/dist/providers/codex/rpc.d.ts +9 -4
- package/dist/providers/codex/rpc.js +109 -47
- package/dist/providers/codex/skill-roots/constants.d.ts +4 -0
- package/dist/providers/codex/skill-roots/constants.js +7 -0
- package/dist/providers/codex/skill-roots/index.d.ts +2 -0
- package/dist/providers/codex/skill-roots/index.js +4 -0
- package/dist/providers/codex/skill-roots/skill-roots.d.ts +35 -0
- package/dist/providers/codex/skill-roots/skill-roots.js +93 -0
- package/dist/providers/codex/transformers.d.ts +3 -1
- package/dist/providers/codex/transformers.js +12 -1
- package/dist/providers/codex/types.d.ts +4 -0
- package/dist/providers/codex/types.js +4 -1
- package/dist/providers/codex/websocket/constants.d.ts +11 -0
- package/dist/providers/codex/websocket/constants.js +18 -0
- package/dist/providers/codex/websocket/index.d.ts +1 -0
- package/dist/providers/codex/websocket/index.js +2 -0
- package/dist/providers/codex/websocket/websocket.d.ts +7 -0
- package/dist/providers/codex/websocket/websocket.js +219 -0
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +1 -1
- package/dist/providers/process.d.ts +2 -2
- package/dist/providers/process.js +37 -4
- package/dist/providers/registry/registry.js +2 -1
- package/dist/providers/types.d.ts +25 -2
- package/dist/runtime/runtime.d.ts +0 -2
- package/dist/runtime/runtime.js +11 -5
- package/dist/runtime/state/state.d.ts +1 -1
- package/dist/runtime/state/state.js +2 -2
- package/dist/runtime/types.d.ts +0 -2
- package/dist/runtime/types.js +0 -3
- package/dist/sessions/sessions.js +2 -0
- package/dist/snapshots/archive/archive.d.ts +29 -0
- package/dist/snapshots/archive/archive.js +342 -0
- package/dist/snapshots/archive/constants.d.ts +5 -0
- package/dist/snapshots/archive/constants.js +8 -0
- package/dist/snapshots/archive/index.d.ts +1 -0
- package/dist/snapshots/archive/index.js +2 -0
- package/dist/snapshots/artifacts.d.ts +10 -1
- package/dist/snapshots/artifacts.js +38 -13
- package/dist/snapshots/capture.d.ts +3 -2
- package/dist/snapshots/capture.js +29 -13
- package/dist/snapshots/database.d.ts +2 -2
- package/dist/snapshots/database.js +30 -14
- package/dist/snapshots/fences.d.ts +4 -9
- package/dist/snapshots/fences.js +9 -22
- package/dist/snapshots/index.d.ts +1 -2
- package/dist/snapshots/index.js +2 -3
- package/dist/snapshots/snapshots.d.ts +6 -5
- package/dist/snapshots/snapshots.js +13 -13
- package/dist/snapshots/snapshots.worker.js +1 -1
- package/dist/snapshots/types.d.ts +26 -5
- package/dist/snapshots/types.js +15 -4
- package/dist/storage/schema/constants.d.ts +2 -2
- package/dist/storage/schema/constants.js +9 -3
- package/dist/storage/schema/index.d.ts +2 -3
- package/dist/storage/schema/index.js +4 -3
- package/dist/storage/schema/schema.d.ts +10 -8
- package/dist/storage/schema/schema.js +22 -36
- package/dist/storage/schema/types.d.ts +1 -11
- package/dist/storage/schema/types.js +2 -2
- package/dist/storage/storage.d.ts +1 -1
- package/dist/storage/storage.js +2 -2
- package/dist/store/collaboration/collaboration.model.d.ts +2 -2
- package/dist/store/control/types.d.ts +16 -16
- package/dist/store/plans/plans.model.d.ts +3 -105
- package/dist/store/plans/plans.model.js +6 -46
- package/dist/store/schema.d.ts +0 -2
- package/dist/store/schema.js +6 -25
- package/dist/store/schema.sql +90 -16
- package/dist/store/sessions/index.d.ts +1 -0
- package/dist/store/sessions/index.js +2 -0
- package/dist/store/sessions/sessions.model.d.ts +28 -0
- package/dist/store/sessions/sessions.model.js +105 -0
- package/dist/store/store.d.ts +0 -2
- package/dist/store/store.js +13 -9
- package/dist/store/store.worker.js +16 -11
- package/dist/store/types.d.ts +134 -513
- package/dist/store/types.js +21 -7
- package/docs/recovery.md +6 -16
- package/errors/README.md +30 -36
- package/package.json +1 -1
- package/dist/plans/reconciliation.d.ts +0 -34
- package/dist/plans/reconciliation.js +0 -246
- package/dist/storage/schema/v1-to-v2.sql +0 -1
- package/dist/storage/schema/v1.sql +0 -538
- package/dist/storage/upgrade/index.d.ts +0 -2
- package/dist/storage/upgrade/index.js +0 -2
- package/dist/storage/upgrade/types.d.ts +0 -61
- package/dist/storage/upgrade/types.js +0 -42
- package/dist/storage/upgrade/upgrade.d.ts +0 -33
- package/dist/storage/upgrade/upgrade.js +0 -196
- package/dist/storage/upgrade/upgrade.worker.d.ts +0 -1
- package/dist/storage/upgrade/upgrade.worker.js +0 -220
|
@@ -1,33 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ActionEnvelopeSchema, ActionReceiptSchema, ActionSummarySchema, ActionPlanContextSchema, ManagedThreadSchema, NativeApprovalSchema, } from '../actions/index.js';
|
|
3
|
-
import {
|
|
4
|
-
import { PlanCommandSchema
|
|
3
|
+
import { LiveItemsSchema } from '../types.js';
|
|
4
|
+
import { PlanCommandSchema } from '../plans/index.js';
|
|
5
5
|
// the browser surface is closed; hosts resolve every supplied identity against their registry
|
|
6
6
|
export const BrowserCommandSchema = z.discriminatedUnion('kind', [
|
|
7
7
|
z.strictObject({ kind: z.literal('native'), action: ActionEnvelopeSchema }),
|
|
8
8
|
z.strictObject({ kind: z.literal('plan'), command: PlanCommandSchema }),
|
|
9
|
-
z.strictObject({
|
|
10
|
-
kind: z.literal('priority'),
|
|
11
|
-
target: PlanTargetSchema,
|
|
12
|
-
expectedRevision: PlanRevisionSchema,
|
|
13
|
-
priority: z.enum(['P0', 'P1', 'P2', 'P3']),
|
|
14
|
-
reason: z.string().min(1).max(4096),
|
|
15
|
-
}),
|
|
16
|
-
z.strictObject({
|
|
17
|
-
kind: z.literal('error-reservation'),
|
|
18
|
-
target: PlanTargetSchema,
|
|
19
|
-
expectedRevision: PlanRevisionSchema,
|
|
20
|
-
reservation: PlanMetadataSchema.shape.errorReservations.element,
|
|
21
|
-
release: z.boolean(),
|
|
22
|
-
}),
|
|
23
|
-
z.strictObject({
|
|
24
|
-
kind: z.literal('publication-retry'),
|
|
25
|
-
publicationId: z.uuid(),
|
|
26
|
-
expectedCommit: z
|
|
27
|
-
.string()
|
|
28
|
-
.regex(/^[a-f0-9]{40}(?:[a-f0-9]{24})?$/)
|
|
29
|
-
.nullable(),
|
|
30
|
-
}),
|
|
31
9
|
]);
|
|
32
10
|
export const BrowserActionSchema = z
|
|
33
11
|
.strictObject({
|
|
@@ -47,94 +25,7 @@ export const BrowserReceiptSchema = z.object({
|
|
|
47
25
|
updatedAt: z.number().int(),
|
|
48
26
|
native: ActionReceiptSchema.nullable(),
|
|
49
27
|
});
|
|
50
|
-
//
|
|
51
|
-
export const BrowserRepositorySchema = z.object({
|
|
52
|
-
name: z.string().max(128),
|
|
53
|
-
root: z.string().max(4096).nullable(),
|
|
54
|
-
purpose: z.string().max(4096),
|
|
55
|
-
worktrees: z.boolean(),
|
|
56
|
-
});
|
|
57
|
-
export const BrowserPlanSummarySchema = z.object({
|
|
58
|
-
id: z.string().max(128),
|
|
59
|
-
directory: z.string().max(4096),
|
|
60
|
-
scope: z.string().max(128),
|
|
61
|
-
status: z.enum(['planned', 'in-progress', 'done', 'abandoned']),
|
|
62
|
-
summary: z.string().max(4096),
|
|
63
|
-
priority: z.enum(['P0', 'P1', 'P2', 'P3']),
|
|
64
|
-
priorityReason: z.string().max(4096),
|
|
65
|
-
repositories: PlanMetadataSchema.shape.repositories,
|
|
66
|
-
errorReservations: PlanMetadataSchema.shape.errorReservations,
|
|
67
|
-
});
|
|
68
|
-
export const BrowserPlanPageSchema = z.object({
|
|
69
|
-
data: z.array(BrowserPlanSummarySchema).max(128),
|
|
70
|
-
nextCursor: z.string().nullable(),
|
|
71
|
-
revision: z.string().regex(/^[a-f0-9]{64}$/),
|
|
72
|
-
});
|
|
73
|
-
export const BrowserPlanDetailSchema = z.object({
|
|
74
|
-
summary: BrowserPlanSummarySchema,
|
|
75
|
-
contract: z.string().max(1_048_576),
|
|
76
|
-
status: PlanStatusSchema,
|
|
77
|
-
presentation: z.string().max(1_048_576).nullable(),
|
|
78
|
-
page: PlanResultSchema.nullable(),
|
|
79
|
-
});
|
|
80
|
-
export const BrowserSessionSchema = z.object({
|
|
81
|
-
operator: z.object({ id: z.string().max(256) }),
|
|
82
|
-
runtimeEpoch: z.uuid(),
|
|
83
|
-
capabilities: z.object({
|
|
84
|
-
native: z.boolean(),
|
|
85
|
-
plans: z.boolean(),
|
|
86
|
-
priorities: z.boolean(),
|
|
87
|
-
errorReservations: z.boolean(),
|
|
88
|
-
publicationRetry: z.boolean(),
|
|
89
|
-
}),
|
|
90
|
-
});
|
|
91
|
-
export const BrowserRepositoryPageSchema = z.object({
|
|
92
|
-
data: z.array(BrowserRepositorySchema).max(128),
|
|
93
|
-
nextCursor: z.string().nullable(),
|
|
94
|
-
});
|
|
95
|
-
// publication state is independent of native execution, account quota and repository resources
|
|
96
|
-
export const PublicationStatusSchema = z.object({
|
|
97
|
-
id: z.uuid().nullable(),
|
|
98
|
-
state: z.enum(['idle', 'pending', 'publishing', 'published', 'blocked', 'failed', 'uncertain']),
|
|
99
|
-
reason: z
|
|
100
|
-
.enum([
|
|
101
|
-
'clean',
|
|
102
|
-
'enrolled',
|
|
103
|
-
'editing',
|
|
104
|
-
'changed',
|
|
105
|
-
'git',
|
|
106
|
-
'signing',
|
|
107
|
-
'verification',
|
|
108
|
-
'transport',
|
|
109
|
-
'rejected',
|
|
110
|
-
'remote-changed',
|
|
111
|
-
'unpublished',
|
|
112
|
-
'staged',
|
|
113
|
-
'configuration',
|
|
114
|
-
'owner',
|
|
115
|
-
'cleanup',
|
|
116
|
-
])
|
|
117
|
-
.nullable(),
|
|
118
|
-
dueAt: z.number().int().nonnegative(),
|
|
119
|
-
attemptedAt: z.number().int().nonnegative().nullable(),
|
|
120
|
-
succeededAt: z.number().int().nonnegative().nullable(),
|
|
121
|
-
commit: z
|
|
122
|
-
.string()
|
|
123
|
-
.regex(/^[a-f0-9]{40}(?:[a-f0-9]{24})?$/)
|
|
124
|
-
.nullable(),
|
|
125
|
-
publishedCommit: z
|
|
126
|
-
.string()
|
|
127
|
-
.regex(/^[a-f0-9]{40}(?:[a-f0-9]{24})?$/)
|
|
128
|
-
.nullable(),
|
|
129
|
-
queuedFiles: z.number().int().min(0).max(1024),
|
|
130
|
-
selectedFiles: z.number().int().min(0).max(1024),
|
|
131
|
-
});
|
|
132
|
-
export const BrowserSystemSchema = z.object({
|
|
133
|
-
runtime: RuntimeStatusSchema,
|
|
134
|
-
publication: PublicationStatusSchema,
|
|
135
|
-
resources: z.object({ state: z.literal('unavailable') }),
|
|
136
|
-
service: z.object({ state: z.literal('unavailable') }),
|
|
137
|
-
});
|
|
28
|
+
// one managed thread with its plan context, pending approvals, live items and recent actions
|
|
138
29
|
export const BrowserThreadDetailSchema = z.object({
|
|
139
30
|
thread: ManagedThreadSchema,
|
|
140
31
|
plan: ActionPlanContextSchema.nullable(),
|
|
@@ -15,23 +15,19 @@ export { PreparedInputSchema, ActionCommandSchema, ActionEnvelopeSchema, ActionR
|
|
|
15
15
|
export type { IPreparedInput, IActionCommand, IActionEnvelope, IActionReceipt, IActionSummary, IManagedThread, INativeApproval, INativeApprovalSummary, IApprovalPresentation, INativeElicitation, ILifecycleEvent, } from './actions/index.js';
|
|
16
16
|
export { SkillIdSchema, NativeSkillInputSchema, SkillSchema, SkillPageSchema, SkillPreviewSchema, MessageInputSchema, } from './skills/index.js';
|
|
17
17
|
export type { INativeSkillInput, ISkill, ISkillPage, ISkillPreview, IMessageInput, } from './skills/index.js';
|
|
18
|
-
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema,
|
|
19
|
-
export type { IPlanRevision, IPlanMetadata, IPlanTarget, IPlanOperatorAction, IPlanCommand, IPlanCommandInput, IPlanCoordination,
|
|
20
|
-
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema,
|
|
21
|
-
export type { IPlanCheckout, IPlanWorktreeProof, IPlanCompletion, IPlanSnapshotMilestone,
|
|
18
|
+
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema, PlanCoordinationSchema, PlanMilestoneSchema, PlanStatusSchema, PlanResultSchema, } from './plans/index.js';
|
|
19
|
+
export type { IPlanRevision, IPlanMetadata, IPlanTarget, IPlanOperatorAction, IPlanCommand, IPlanCommandInput, IPlanCoordination, IPlanMilestone, IPlanStatus, IPlanResult, } from './plans/index.js';
|
|
20
|
+
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema, PlanRevisionWorkflowSchema, PlanCoordinationSummarySchema, } from './plans/index.js';
|
|
21
|
+
export type { IPlanCheckout, IPlanWorktreeProof, IPlanCompletion, IPlanSnapshotMilestone, IPlanRevisionWorkflow, } from './plans/index.js';
|
|
22
22
|
export { PlanCheckpointSchema } from './plans/index.js';
|
|
23
23
|
export type { IPlanCheckpoint } from './plans/index.js';
|
|
24
|
-
export { PlanCorrespondenceSummarySchema, PlanReconciliationEntrySchema } from './plans/index.js';
|
|
25
|
-
export type { IPlanReconciliationEntry } from './plans/index.js';
|
|
26
24
|
export { PlanActionScopeSchema, ActionPlanContextSchema } from './actions/index.js';
|
|
27
25
|
export type { IPlanActionScope, IActionPlanContext } from './actions/index.js';
|
|
28
26
|
export { BrowserCommandSchema, BrowserActionSchema, BrowserReceiptSchema, } from './browser/index.js';
|
|
29
27
|
export type { IBrowserAction, IBrowserReceipt } from './browser/index.js';
|
|
30
28
|
export { TurnSettingsSchema, SessionSettingsSchema, ConfigurationRequestSchema, ConfigurationChoiceSchema, SessionConfigurationSchema, } from './configuration/index.js';
|
|
31
29
|
export type { ITurnSettings, ISessionSettings, IConfigurationRequest, IConfigurationChoice, ISessionConfiguration, } from './configuration/index.js';
|
|
32
|
-
export {
|
|
33
|
-
export { BrowserRepositoryPageSchema, BrowserSystemSchema, BrowserThreadDetailSchema, PublicationStatusSchema, } from './browser/index.js';
|
|
34
|
-
export type { IPublicationStatus } from './browser/index.js';
|
|
30
|
+
export { BrowserThreadDetailSchema } from './browser/index.js';
|
|
35
31
|
export { InputFileSchema, BoundInputFileSchema, MAX_INPUT_FILES, MAX_INPUT_FILE_BYTES, MAX_TEXT_FILE_BYTES, } from './inputs/index.js';
|
|
36
32
|
export type { IInputFile, IBoundInputFile } from './inputs/index.js';
|
|
37
33
|
export { MAX_RESULT_BYTES, OutputSchemaSchema, TurnUsageSchema, TurnResultSchema, } from './results/index.js';
|
|
@@ -47,3 +43,5 @@ export type { ICollaborationActor, IMessageAuthor, IDispatchFailure, IDispatchBl
|
|
|
47
43
|
export { AgentIdentityArgumentsSchema, AgentSpawnArgumentsSchema, AgentToolCallSchema, AgentToolRequestSchema, AgentToolResultSchema, } from './agent-tools/index.js';
|
|
48
44
|
export type { IAgentSpawnArguments, IAgentToolCall, IAgentToolName, IAgentToolRequest, IAgentToolResult, } from './agent-tools/index.js';
|
|
49
45
|
export { SessionDiscoveryRequestSchema } from './evidence/index.js';
|
|
46
|
+
export { SessionStateSchema, SessionTransitionReasonSchema, SessionTransitionSchema, SessionTransitionPageSchema, } from './sessions/index.js';
|
|
47
|
+
export type { ISessionState, ISessionTransitionReason, ISessionTransition, } from './sessions/index.js';
|
package/dist/contracts/index.js
CHANGED
|
@@ -16,23 +16,19 @@ export { PreparedInputSchema, ActionCommandSchema, ActionEnvelopeSchema, ActionR
|
|
|
16
16
|
// native skills and explicit message input
|
|
17
17
|
export { SkillIdSchema, NativeSkillInputSchema, SkillSchema, SkillPageSchema, SkillPreviewSchema, MessageInputSchema, } from './skills/index.js';
|
|
18
18
|
// plan revisions and explicit authority
|
|
19
|
-
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema,
|
|
19
|
+
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema, PlanCoordinationSchema, PlanMilestoneSchema, PlanStatusSchema, PlanResultSchema, } from './plans/index.js';
|
|
20
20
|
// revision checkpoints and retained verification
|
|
21
|
-
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema,
|
|
21
|
+
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema, PlanRevisionWorkflowSchema, PlanCoordinationSummarySchema, } from './plans/index.js';
|
|
22
22
|
// saved revision baseline
|
|
23
23
|
export { PlanCheckpointSchema } from './plans/index.js';
|
|
24
|
-
// bounded revision reads
|
|
25
|
-
export { PlanCorrespondenceSummarySchema, PlanReconciliationEntrySchema } from './plans/index.js';
|
|
26
24
|
// guided plan scope
|
|
27
25
|
export { PlanActionScopeSchema, ActionPlanContextSchema } from './actions/index.js';
|
|
28
26
|
// authenticated host actions
|
|
29
27
|
export { BrowserCommandSchema, BrowserActionSchema, BrowserReceiptSchema, } from './browser/index.js';
|
|
30
28
|
// native session configuration
|
|
31
29
|
export { TurnSettingsSchema, SessionSettingsSchema, ConfigurationRequestSchema, ConfigurationChoiceSchema, SessionConfigurationSchema, } from './configuration/index.js';
|
|
32
|
-
// host read models
|
|
33
|
-
export { BrowserRepositorySchema, BrowserPlanSummarySchema, BrowserPlanPageSchema, BrowserPlanDetailSchema, BrowserSessionSchema, } from './browser/index.js';
|
|
34
30
|
// bounded host views
|
|
35
|
-
export {
|
|
31
|
+
export { BrowserThreadDetailSchema } from './browser/index.js';
|
|
36
32
|
// bounded file inputs and complete native results
|
|
37
33
|
export { InputFileSchema, BoundInputFileSchema, MAX_INPUT_FILES, MAX_INPUT_FILE_BYTES, MAX_TEXT_FILE_BYTES, } from './inputs/index.js';
|
|
38
34
|
export { MAX_RESULT_BYTES, OutputSchemaSchema, TurnUsageSchema, TurnResultSchema, } from './results/index.js';
|
|
@@ -46,3 +42,5 @@ export { COLLABORATION_LIMITS, CollaborationActorSchema, MessageAuthorSchema, Di
|
|
|
46
42
|
// native agent tools
|
|
47
43
|
export { AgentIdentityArgumentsSchema, AgentSpawnArgumentsSchema, AgentToolCallSchema, AgentToolRequestSchema, AgentToolResultSchema, } from './agent-tools/index.js';
|
|
48
44
|
export { SessionDiscoveryRequestSchema } from './evidence/index.js';
|
|
45
|
+
// session states and transitions
|
|
46
|
+
export { SessionStateSchema, SessionTransitionReasonSchema, SessionTransitionSchema, SessionTransitionPageSchema, } from './sessions/index.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema,
|
|
2
|
-
export type { IPlanRevision, IPlanMetadata, IPlanTarget, IPlanOperatorAction, IPlanCommand, IPlanCommandInput, IPlanCoordination,
|
|
3
|
-
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema,
|
|
4
|
-
export type { IPlanCheckout, IPlanWorktreeProof, IPlanCompletion, IPlanSnapshotMilestone,
|
|
1
|
+
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema, PlanCoordinationSchema, PlanMilestoneSchema, PlanStatusSchema, PlanResultSchema, } from './types.js';
|
|
2
|
+
export type { IPlanRevision, IPlanMetadata, IPlanTarget, IPlanOperatorAction, IPlanCommand, IPlanCommandInput, IPlanCoordination, IPlanMilestone, IPlanStatus, IPlanResult, } from './types.js';
|
|
3
|
+
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema, PlanRevisionWorkflowSchema, PlanCoordinationSummarySchema, } from './types.js';
|
|
4
|
+
export type { IPlanCheckout, IPlanWorktreeProof, IPlanCompletion, IPlanSnapshotMilestone, IPlanRevisionWorkflow, } from './types.js';
|
|
5
5
|
export { PlanCheckpointSchema } from './types.js';
|
|
6
6
|
export type { IPlanCheckpoint } from './types.js';
|
|
7
|
-
export { PlanCorrespondenceSummarySchema, PlanReconciliationEntrySchema } from './types.js';
|
|
8
|
-
export type { IPlanReconciliationEntry } from './types.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// revision, provenance and plan contracts
|
|
2
|
-
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema,
|
|
2
|
+
export { PlanDigestSchema, PlanRevisionSchema, PlanMetadataSchema, PlanTargetSchema, PlanOperatorActionSchema, PlanCommandSchema, PlanApprovalSchema, PlanExecutionSchema, PlanFinalizationSchema, PlanCoordinationSchema, PlanMilestoneSchema, PlanStatusSchema, PlanResultSchema, } from './types.js';
|
|
3
3
|
// revision checkpoints and retained verification
|
|
4
|
-
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema,
|
|
4
|
+
export { PlanCheckSchema, PlanCheckoutSchema, PlanWorktreeProofSchema, PlanCompletionSchema, PlanSnapshotMilestoneSchema, PlanRevisionWorkflowSchema, PlanCoordinationSummarySchema, } from './types.js';
|
|
5
5
|
// saved revision baseline
|
|
6
6
|
export { PlanCheckpointSchema } from './types.js';
|
|
7
|
-
// bounded revision reads
|
|
8
|
-
export { PlanCorrespondenceSummarySchema, PlanReconciliationEntrySchema } from './types.js';
|