@codelia/shared-types 0.1.84 → 0.1.85
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/index.d.cts +34 -1
- package/dist/index.d.ts +34 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -424,4 +424,37 @@ type AgentMessage = {
|
|
|
424
424
|
content: string;
|
|
425
425
|
};
|
|
426
426
|
|
|
427
|
-
|
|
427
|
+
type GoalStatus = "active" | "paused" | "blocked" | "usage_limited" | "budget_limited" | "complete";
|
|
428
|
+
type GoalStopReason = "user" | "turn_limit" | "run_error" | "checkpoint_failed" | "interrupted" | "blocker";
|
|
429
|
+
type GoalRecord = {
|
|
430
|
+
session_id: string;
|
|
431
|
+
goal_id: string;
|
|
432
|
+
revision: number;
|
|
433
|
+
objective: string;
|
|
434
|
+
status: GoalStatus;
|
|
435
|
+
stop_reason?: GoalStopReason;
|
|
436
|
+
stop_detail?: string;
|
|
437
|
+
token_budget: number | null;
|
|
438
|
+
tokens_used: number;
|
|
439
|
+
usage_known: boolean;
|
|
440
|
+
activation_id: string;
|
|
441
|
+
automatic_runs: number;
|
|
442
|
+
created_at: string;
|
|
443
|
+
updated_at: string;
|
|
444
|
+
};
|
|
445
|
+
type GoalSnapshot = {
|
|
446
|
+
session_id: string | null;
|
|
447
|
+
goal: GoalRecord | null;
|
|
448
|
+
can_continue: boolean;
|
|
449
|
+
accepted_run_id?: string;
|
|
450
|
+
active_run_id?: string;
|
|
451
|
+
};
|
|
452
|
+
type GoalOffer = {
|
|
453
|
+
session_id: string;
|
|
454
|
+
goal_id: string;
|
|
455
|
+
revision: number;
|
|
456
|
+
continuation_id: string;
|
|
457
|
+
after_run_id?: string;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
export { ATTACHMENT_ID_PATTERN, type AgentEvent, type AgentMessage, type ApprovalMode, type AttachedImageMetadata, type AttachmentRef, type AttachmentRefPart, type BuiltinProviderName, type CompactionCompleteEvent, type CompactionStartEvent, type ContentPart, type ContextUsage, type ContextUsageBreakdownEntry, type ContextUsageCategory, type DocumentPart, type FinalResponseEvent, type GeneratedImageMetadata, type GoalOffer, type GoalRecord, type GoalSnapshot, type GoalStatus, type GoalStopReason, type HiddenUserMessageEvent, IMAGE_REFERENCE_MAX_COUNT, type ImageArtifactMetadata, type ImageArtifactRef, type ImageMediaType, type ImageModelView, type ImagePart, type ImageRefPart, type LlmCallTiming, type LlmRetryEvent, type LlmStatusEvent, MODEL_REASONING_LEVELS, type ModelFastMode, type ModelReasoningLevel, type OtherPart, type PermissionPreviewEvent, type PermissionReadyEvent, type ProviderName, type ReasoningDeltaEvent, type ReasoningEvent, type RunErrorInfo, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type SteerAppliedEvent, type StepCompleteEvent, type StepStartEvent, type SubagentLineage, type TaskProgress, type TaskTerminationReason, type TaskUsage, type TextDeltaEvent, type TextEvent, type TextPart, type ToolCallEvent, type ToolResultEvent, isImageModelView, isModelFastMode, isModelReasoningLevel, parseApprovalMode };
|
package/dist/index.d.ts
CHANGED
|
@@ -424,4 +424,37 @@ type AgentMessage = {
|
|
|
424
424
|
content: string;
|
|
425
425
|
};
|
|
426
426
|
|
|
427
|
-
|
|
427
|
+
type GoalStatus = "active" | "paused" | "blocked" | "usage_limited" | "budget_limited" | "complete";
|
|
428
|
+
type GoalStopReason = "user" | "turn_limit" | "run_error" | "checkpoint_failed" | "interrupted" | "blocker";
|
|
429
|
+
type GoalRecord = {
|
|
430
|
+
session_id: string;
|
|
431
|
+
goal_id: string;
|
|
432
|
+
revision: number;
|
|
433
|
+
objective: string;
|
|
434
|
+
status: GoalStatus;
|
|
435
|
+
stop_reason?: GoalStopReason;
|
|
436
|
+
stop_detail?: string;
|
|
437
|
+
token_budget: number | null;
|
|
438
|
+
tokens_used: number;
|
|
439
|
+
usage_known: boolean;
|
|
440
|
+
activation_id: string;
|
|
441
|
+
automatic_runs: number;
|
|
442
|
+
created_at: string;
|
|
443
|
+
updated_at: string;
|
|
444
|
+
};
|
|
445
|
+
type GoalSnapshot = {
|
|
446
|
+
session_id: string | null;
|
|
447
|
+
goal: GoalRecord | null;
|
|
448
|
+
can_continue: boolean;
|
|
449
|
+
accepted_run_id?: string;
|
|
450
|
+
active_run_id?: string;
|
|
451
|
+
};
|
|
452
|
+
type GoalOffer = {
|
|
453
|
+
session_id: string;
|
|
454
|
+
goal_id: string;
|
|
455
|
+
revision: number;
|
|
456
|
+
continuation_id: string;
|
|
457
|
+
after_run_id?: string;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
export { ATTACHMENT_ID_PATTERN, type AgentEvent, type AgentMessage, type ApprovalMode, type AttachedImageMetadata, type AttachmentRef, type AttachmentRefPart, type BuiltinProviderName, type CompactionCompleteEvent, type CompactionStartEvent, type ContentPart, type ContextUsage, type ContextUsageBreakdownEntry, type ContextUsageCategory, type DocumentPart, type FinalResponseEvent, type GeneratedImageMetadata, type GoalOffer, type GoalRecord, type GoalSnapshot, type GoalStatus, type GoalStopReason, type HiddenUserMessageEvent, IMAGE_REFERENCE_MAX_COUNT, type ImageArtifactMetadata, type ImageArtifactRef, type ImageMediaType, type ImageModelView, type ImagePart, type ImageRefPart, type LlmCallTiming, type LlmRetryEvent, type LlmStatusEvent, MODEL_REASONING_LEVELS, type ModelFastMode, type ModelReasoningLevel, type OtherPart, type PermissionPreviewEvent, type PermissionReadyEvent, type ProviderName, type ReasoningDeltaEvent, type ReasoningEvent, type RunErrorInfo, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type SteerAppliedEvent, type StepCompleteEvent, type StepStartEvent, type SubagentLineage, type TaskProgress, type TaskTerminationReason, type TaskUsage, type TextDeltaEvent, type TextEvent, type TextPart, type ToolCallEvent, type ToolResultEvent, isImageModelView, isModelFastMode, isModelReasoningLevel, parseApprovalMode };
|