@synap-core/api-types 1.17.1 → 1.17.2

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.
@@ -4117,6 +4117,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
4117
4117
  };
4118
4118
  meta: object;
4119
4119
  }>;
4120
+ createAndLinkToSession: import("@trpc/server").TRPCMutationProcedure<{
4121
+ input: {
4122
+ sessionId: string;
4123
+ participants?: string[] | undefined;
4124
+ title?: string | undefined;
4125
+ };
4126
+ output: {
4127
+ channelId: string;
4128
+ status: "exists";
4129
+ } | {
4130
+ channelId: `${string}-${string}-${string}-${string}-${string}`;
4131
+ status: "created";
4132
+ };
4133
+ meta: object;
4134
+ }>;
4120
4135
  createGroupChannel: import("@trpc/server").TRPCMutationProcedure<{
4121
4136
  input: {
4122
4137
  name: string;
@@ -15471,6 +15486,26 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
15471
15486
  };
15472
15487
  meta: object;
15473
15488
  }>;
15489
+ grantCapability: import("@trpc/server").TRPCMutationProcedure<{
15490
+ input: {
15491
+ sessionId: string;
15492
+ capabilityKind: "command" | "tool" | "skill";
15493
+ capabilityId: string;
15494
+ agentUserId?: string | undefined;
15495
+ source?: string | undefined;
15496
+ reasoning?: string | undefined;
15497
+ };
15498
+ output: {
15499
+ granted: boolean;
15500
+ status: "proposed";
15501
+ proposalId: string;
15502
+ } | {
15503
+ granted: boolean;
15504
+ status: "granted";
15505
+ proposalId?: undefined;
15506
+ };
15507
+ meta: object;
15508
+ }>;
15474
15509
  }>>;
15475
15510
  playbooks: import("@trpc/server").TRPCBuiltRouter<{
15476
15511
  ctx: Context;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synap-core/api-types",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
4
4
  "description": "Type definitions for Synap API Router - tRPC types for frontend",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -4117,6 +4117,21 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
4117
4117
  };
4118
4118
  meta: object;
4119
4119
  }>;
4120
+ createAndLinkToSession: import("@trpc/server").TRPCMutationProcedure<{
4121
+ input: {
4122
+ sessionId: string;
4123
+ participants?: string[] | undefined;
4124
+ title?: string | undefined;
4125
+ };
4126
+ output: {
4127
+ channelId: string;
4128
+ status: "exists";
4129
+ } | {
4130
+ channelId: `${string}-${string}-${string}-${string}-${string}`;
4131
+ status: "created";
4132
+ };
4133
+ meta: object;
4134
+ }>;
4120
4135
  createGroupChannel: import("@trpc/server").TRPCMutationProcedure<{
4121
4136
  input: {
4122
4137
  name: string;
@@ -15471,6 +15486,26 @@ export declare const coreRouter: import("@trpc/server").TRPCBuiltRouter<{
15471
15486
  };
15472
15487
  meta: object;
15473
15488
  }>;
15489
+ grantCapability: import("@trpc/server").TRPCMutationProcedure<{
15490
+ input: {
15491
+ sessionId: string;
15492
+ capabilityKind: "command" | "tool" | "skill";
15493
+ capabilityId: string;
15494
+ agentUserId?: string | undefined;
15495
+ source?: string | undefined;
15496
+ reasoning?: string | undefined;
15497
+ };
15498
+ output: {
15499
+ granted: boolean;
15500
+ status: "proposed";
15501
+ proposalId: string;
15502
+ } | {
15503
+ granted: boolean;
15504
+ status: "granted";
15505
+ proposalId?: undefined;
15506
+ };
15507
+ meta: object;
15508
+ }>;
15474
15509
  }>>;
15475
15510
  playbooks: import("@trpc/server").TRPCBuiltRouter<{
15476
15511
  ctx: Context;