@takeshape/cli 11.120.1 → 11.121.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.
Files changed (2) hide show
  1. package/dist/index.js +80 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -206930,7 +206930,7 @@ var engines = {
206930
206930
  };
206931
206931
  var package_default = {
206932
206932
  name: "@takeshape/cli",
206933
- version: "11.120.1",
206933
+ version: "11.121.4",
206934
206934
  description: "TakeShape CLI",
206935
206935
  homepage: "https://www.takeshape.io",
206936
206936
  repository: {
@@ -217405,6 +217405,10 @@ var schema3 = {
217405
217405
  hasAgentHistory: {
217406
217406
  type: "boolean",
217407
217407
  description: "Indicates whether the agent session has an associated history of agent responses."
217408
+ },
217409
+ hasFeedback: {
217410
+ type: "boolean",
217411
+ description: "Indicates whether the agent session has any messages with feedback."
217408
217412
  }
217409
217413
  },
217410
217414
  required: [
@@ -217455,6 +217459,67 @@ var validate5 = createTypedValidator(schema5);
217455
217459
  var import_omit2 = __toESM(require_omit(), 1);
217456
217460
 
217457
217461
  // ../schema/dist/resolvers/ai/agent-message-payload.js
217462
+ var agentGenerateStateOutputSchema = {
217463
+ title: "AgentGenerateStateOutput",
217464
+ type: "object",
217465
+ properties: {
217466
+ type: { const: "generate" },
217467
+ data: {}
217468
+ },
217469
+ required: ["type", "data"],
217470
+ additionalProperties: false
217471
+ };
217472
+ var agentGraphQLStateOutputSchema = {
217473
+ title: "AgentGraphQLStateOutput",
217474
+ type: "object",
217475
+ properties: {
217476
+ type: { const: "graphql" },
217477
+ data: {}
217478
+ },
217479
+ required: ["type", "data"],
217480
+ additionalProperties: false
217481
+ };
217482
+ var agentChatStateOutputSchema = {
217483
+ title: "AgentChatStateOutput",
217484
+ type: "object",
217485
+ properties: {
217486
+ type: { const: "chat" },
217487
+ data: {
217488
+ title: "AgentChatStateOutputData",
217489
+ type: "object",
217490
+ properties: {
217491
+ content: { type: "string" },
217492
+ artifact: { type: "object" },
217493
+ references: {
217494
+ type: "array",
217495
+ items: {
217496
+ title: "AgentChatStateOutputReference",
217497
+ type: "object",
217498
+ properties: {
217499
+ _tid: { type: "string" }
217500
+ },
217501
+ required: ["_tid"],
217502
+ additionalProperties: false
217503
+ }
217504
+ }
217505
+ },
217506
+ required: ["content", "references"],
217507
+ additionalProperties: false
217508
+ }
217509
+ },
217510
+ required: ["type", "data"],
217511
+ additionalProperties: false
217512
+ };
217513
+ var agentUnknownStateOutputSchema = {
217514
+ title: "AgentUnknownStateOutput",
217515
+ type: "object",
217516
+ properties: {
217517
+ type: { const: "unknown" },
217518
+ data: {}
217519
+ },
217520
+ required: ["type", "data"],
217521
+ additionalProperties: false
217522
+ };
217458
217523
  var schema6 = {
217459
217524
  $id: "https://takeshape.io/schema/agent-message-payload",
217460
217525
  type: "object",
@@ -217479,11 +217544,23 @@ var schema6 = {
217479
217544
  type: "string",
217480
217545
  description: "Name of the agent this message was created by"
217481
217546
  },
217482
- input: {
217547
+ args: {
217483
217548
  type: "object"
217484
217549
  },
217550
+ input: {
217551
+ type: "string"
217552
+ },
217485
217553
  output: {
217486
- type: "object"
217554
+ discriminator: {
217555
+ propertyName: "type"
217556
+ },
217557
+ oneOf: [
217558
+ agentGenerateStateOutputSchema,
217559
+ agentGraphQLStateOutputSchema,
217560
+ agentChatStateOutputSchema,
217561
+ agentUnknownStateOutputSchema
217562
+ ],
217563
+ required: ["type"]
217487
217564
  },
217488
217565
  error: {
217489
217566
  type: "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/cli",
3
- "version": "11.120.1",
3
+ "version": "11.121.4",
4
4
  "description": "TakeShape CLI",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -69,11 +69,11 @@
69
69
  "stream-to-promise": "2.2.0",
70
70
  "tmp": "0.0.33",
71
71
  "unzipper": "0.10.11",
72
- "@takeshape/branches": "11.120.1",
73
- "@takeshape/schema": "11.120.1",
74
- "@takeshape/ssg": "11.120.1",
75
- "@takeshape/streams": "11.120.1",
76
- "@takeshape/util": "11.120.1"
72
+ "@takeshape/branches": "11.121.4",
73
+ "@takeshape/ssg": "11.121.4",
74
+ "@takeshape/streams": "11.121.4",
75
+ "@takeshape/util": "11.121.4",
76
+ "@takeshape/schema": "11.121.4"
77
77
  },
78
78
  "engines": {
79
79
  "node": ">=22"