@burdenoff/microfe-timecampus 2026.1107.2 → 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
  };
@@ -106054,7 +106067,7 @@ export type Query = {
106054
106067
  timeCampusApplets: Array<TimeCampusApplet>;
106055
106068
  timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>;
106056
106069
  timeCampusCaptureEvents: TimeCampusCaptureEventListResponse;
106057
- /** The OAuth-backed sources a capture channel can pull from. */
106070
+ /** The third-party sources a capture channel can pull from (an OAuth grant or an API key). */
106058
106071
  timeCampusCapturePullProviders: Array<TimeCampusCapturePullProvider>;
106059
106072
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
106060
106073
  /** Current state of a TimeCampus export job started in the caller's workspace. Returns null when the job does not exist, belongs to another workspace, or is not a TimeCampus export. */
@@ -134136,17 +134149,33 @@ export type TimeCampusCaptureEventListResponse = {
134136
134149
  items: Array<TimeCampusCaptureEvent>;
134137
134150
  total: Scalars['Int']['output'];
134138
134151
  };
134139
- /** An OAuth-backed source TimeCampus can pull from (BOFF-10441). Connect it by creating a wspace-integrations-svc connection for `integrationProviderKey`, then `connectTimeCampusCaptureChannel` with `type: channelType`, `provider: key` and the connection id. */
134152
+ /** A third-party source TimeCampus can pull from (BOFF-10441, BOFF-4207), with an OAuth grant or an API key held by wspace-integrations-svc. Connect it by creating a wspace-integrations-svc connection for `integrationProviderKey`, then `connectTimeCampusCaptureChannel` with `type: channelType`, `provider: key` and the connection id. */
134140
134153
  export type TimeCampusCapturePullProvider = {
134141
134154
  __typename?: 'TimeCampusCapturePullProvider';
134142
134155
  channelType: TimeCampusCaptureChannelType;
134143
134156
  defaultSyncIntervalMinutes: Scalars['Int']['output'];
134144
134157
  description: Scalars['String']['output'];
134158
+ group: TimeCampusCapturePullProviderGroup;
134145
134159
  integrationProviderKey: Scalars['String']['output'];
134146
134160
  key: Scalars['String']['output'];
134147
134161
  label: Scalars['String']['output'];
134148
134162
  minSyncIntervalMinutes: Scalars['Int']['output'];
134149
134163
  };
134164
+ /** How the Channels page groups the pull-provider catalogue (BOFF-4207). */
134165
+ export declare enum TimeCampusCapturePullProviderGroup {
134166
+ /** Calendars and booked meetings. */
134167
+ Calendar = "CALENDAR",
134168
+ /** Team chat. */
134169
+ Chat = "CHAT",
134170
+ /** Code hosting. */
134171
+ Code = "CODE",
134172
+ /** Documents and wikis. */
134173
+ Documents = "DOCUMENTS",
134174
+ /** Email. */
134175
+ Email = "EMAIL",
134176
+ /** Issue trackers and task managers. */
134177
+ ProjectManagement = "PROJECT_MANAGEMENT"
134178
+ }
134150
134179
  /** Result of computing (and persisting) a project suggestion for a capture event — see `suggestTimeCampusCaptureEventCategory`. */
134151
134180
  export type TimeCampusCategorySuggestion = {
134152
134181
  __typename?: 'TimeCampusCategorySuggestion';
@@ -135028,6 +135057,12 @@ export type TimeCampusSourceConsent = {
135028
135057
  userId: Scalars['ID']['output'];
135029
135058
  workspaceId: Scalars['ID']['output'];
135030
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
+ };
135031
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. */
135032
135067
  export type TimeCampusSustainedLoadSignal = {
135033
135068
  __typename?: 'TimeCampusSustainedLoadSignal';