@burdenoff/microfe-timecampus 2026.1107.3 → 2026.1107.4

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.
@@ -67519,6 +67519,8 @@ export type Mutation = {
67519
67519
  mergeCrewSkills: CrewSkillMergeResult;
67520
67520
  mergeTag: UniversalTag;
67521
67521
  mergeTags: UniversalTag;
67522
+ /** Merge 2 to 50 of the caller's capture events into one (BOFF-4213). The earliest event survives, spanning first start to last end; the others are soft-deleted (re-ingesting them is still a duplicate). The merged duration is the time the activities really covered, so gaps between them are never counted. The merged event takes the category the most time was spent in. Only the caller's own events can be merged, at most 24 hours apart. */
67523
+ mergeTimeCampusCaptureEvents: TimeCampusCaptureEvent;
67522
67524
  /** Mint a short-lived capability token bound to a single agent + scope. Replaces the long-lived agent API key for browser-bound iframe / terminal embeds. The svc proxies to the agent's `POST /api/agent/iframe-token` over the internal x-agent-api-key channel and returns the resulting HMAC-signed token + expiry. The token is bound to a path prefix derived from `scope` + `resourceId`: - TERMINAL_SESSION + resourceId=sessionId → `/terminal/<sessionId>` - IFRAME_PLUGIN + resourceId=pluginName → `/ui/<pluginName>` - PLAN_SESSION + resourceId=sessionId → `/plan/<sessionId>` - CODE_SERVER + resourceId=instance (optional, currently ignored) → `/code-server` - SCHEDULED_JOB + resourceId=sessionId → server-side only (rejected from public mint; see ScheduledPromptService which routes via the trusted back-channel) The final prefix is validated against the agent's published allow-list (`vibecontrols-agent` `iframe-tokens.ts::isValidIframePathPrefix`). Mints whose computed prefix is banned (`/api`, `/api/ai`, `/api/profiles`, …) are rejected with `BAD_USER_INPUT` so callers see a clear error instead of a downstream upstream-rejected 400. `ttlSeconds` is clamped to [1, 600], default 60. Caller is auth'd by RBAC (action: invoke, resource: agent, scope: wspace) and the agent must belong to the caller's workspace — cross-workspace mint attempts return FORBIDDEN. */
67523
67525
  mintAgentCapability: AgentCapability;
67524
67526
  modifyRecurringInstance: CalendarEvent;
@@ -69369,6 +69371,8 @@ export type Mutation = {
69369
69371
  /** Snooze an open suggestion until a time within 90 days (30 days when until is left out). */
69370
69372
  snoozeOptimisationSuggestion: OptimisationSuggestion;
69371
69373
  snoozeRecommendation: TimeCampusRecommendation;
69374
+ /** Split one of the caller's capture events in two at `at` (BOFF-4213). The original keeps its id and ends at `at`; a new event covers the rest, with the same category, project and app. Each half must be at least one minute long, and an event that is still running cannot be split. */
69375
+ splitTimeCampusCaptureEvent: TimeCampusSplitCaptureEventResult;
69372
69376
  /** Start a durable Fluidgrids turn. The handle is acceptance, not a completed answer. */
69373
69377
  startAssistantTurn: AssistantTurnHandle;
69374
69378
  startAssistantWebsiteTurn: AssistantTurnHandle;
@@ -81828,6 +81832,10 @@ export type MutationMergeTagsArgs = {
81828
81832
  toTagId: Scalars['ID']['input'];
81829
81833
  };
81830
81834
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81835
+ export type MutationMergeTimeCampusCaptureEventsArgs = {
81836
+ ids: Array<Scalars['ID']['input']>;
81837
+ };
81838
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
81831
81839
  export type MutationMintAgentCapabilityArgs = {
81832
81840
  agentId: Scalars['ID']['input'];
81833
81841
  profile: Scalars['String']['input'];
@@ -86452,6 +86460,11 @@ export type MutationSnoozeRecommendationArgs = {
86452
86460
  until: Scalars['DateTime']['input'];
86453
86461
  };
86454
86462
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
86463
+ export type MutationSplitTimeCampusCaptureEventArgs = {
86464
+ at: Scalars['DateTime']['input'];
86465
+ id: Scalars['ID']['input'];
86466
+ };
86467
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
86455
86468
  export type MutationStartAssistantTurnArgs = {
86456
86469
  input: StartAssistantTurnInput;
86457
86470
  };
@@ -135044,6 +135057,12 @@ export type TimeCampusSourceConsent = {
135044
135057
  userId: Scalars['ID']['output'];
135045
135058
  workspaceId: Scalars['ID']['output'];
135046
135059
  };
135060
+ /** The two halves of a split capture event (BOFF-4213): `before` is the original event, now ending at the split time; `after` is the new event that covers the rest. */
135061
+ export type TimeCampusSplitCaptureEventResult = {
135062
+ __typename?: 'TimeCampusSplitCaptureEventResult';
135063
+ after: TimeCampusCaptureEvent;
135064
+ before: TimeCampusCaptureEvent;
135065
+ };
135047
135066
  /** Whether the caller's own work load has been heavy for several weeks running, with a plain-language rationale and the evidence behind it. Never a productivity score. `method` says whether the rules or a model (workspace opt-in `timecampus.ai.sustained-load`) produced the level; `fallbackReason` says why the rules were used. */
135048
135067
  export type TimeCampusSustainedLoadSignal = {
135049
135068
  __typename?: 'TimeCampusSustainedLoadSignal';