@moda-ai/cli 1.19.1 → 1.19.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.
package/dist/cli.js CHANGED
@@ -507,7 +507,7 @@ export async function runCommand(command, positional, flags, positionals = posit
507
507
  // reject an empty/whitespace query with the shared CLI input error before
508
508
  // it reaches the schema (which also guards via q.min(1)).
509
509
  if (!positional || positional.trim() === '') {
510
- throw new CliInputError('<query> is required', 'Usage: moda search "<query>" [--mode=keyword|semantic|hybrid] [--user-id=ID] [--time-range=RANGE] [--limit=N]');
510
+ throw new CliInputError('<query> is required', 'Usage: moda search "<query>" [--mode=keyword|semantic|hybrid] [--user-id=ID] [--time-range=RANGE] [--include-tool-io] [--limit=N]');
511
511
  }
512
512
  const args = flagsToArgs(flags, 'q', positional);
513
513
  const params = SearchSchema.parse(args);
@@ -521,6 +521,8 @@ export async function runCommand(command, positional, flags, positionals = posit
521
521
  query.set('time_range', params.time_range);
522
522
  if (params.limit)
523
523
  query.set('limit', params.limit.toString());
524
+ if (params.include_tool_io)
525
+ query.set('include_tool_io', 'true');
524
526
  const data = await callDataAPI(`/search?${query.toString()}`);
525
527
  recordSearchTelemetry(context, data);
526
528
  context.output.writeData(data);
package/dist/schemas.d.ts CHANGED
@@ -83,12 +83,12 @@ export declare const ContextSchema: z.ZodObject<{
83
83
  window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
84
84
  }, "strip", z.ZodTypeAny, {
85
85
  conversation_id: string;
86
- msg_index?: number | undefined;
87
86
  window?: number | undefined;
87
+ msg_index?: number | undefined;
88
88
  }, {
89
89
  conversation_id: string;
90
- msg_index?: number | undefined;
91
90
  window?: number | undefined;
91
+ msg_index?: number | undefined;
92
92
  }>;
93
93
  export declare const FrustrationsSchema: z.ZodObject<{
94
94
  days_back: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -97,16 +97,16 @@ export declare const FrustrationsSchema: z.ZodObject<{
97
97
  include_window: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
98
98
  window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
99
99
  }, "strip", z.ZodTypeAny, {
100
+ window?: number | undefined;
100
101
  days_back?: number | undefined;
101
102
  limit?: number | undefined;
102
103
  offset?: number | undefined;
103
- window?: number | undefined;
104
104
  include_window?: boolean | undefined;
105
105
  }, {
106
+ window?: number | undefined;
106
107
  days_back?: number | undefined;
107
108
  limit?: number | undefined;
108
109
  offset?: number | undefined;
109
- window?: number | undefined;
110
110
  include_window?: unknown;
111
111
  }>;
112
112
  export declare const ToolFailuresSchema: z.ZodObject<{
@@ -126,19 +126,19 @@ export declare const ToolFailureDetailSchema: z.ZodObject<{
126
126
  window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  tool_name: string;
129
+ window?: number | undefined;
129
130
  subtype?: string | undefined;
130
131
  days_back?: number | undefined;
131
132
  limit?: number | undefined;
132
133
  offset?: number | undefined;
133
- window?: number | undefined;
134
134
  include_window?: boolean | undefined;
135
135
  }, {
136
136
  tool_name: string;
137
+ window?: number | undefined;
137
138
  subtype?: string | undefined;
138
139
  days_back?: number | undefined;
139
140
  limit?: number | undefined;
140
141
  offset?: number | undefined;
141
- window?: number | undefined;
142
142
  include_window?: unknown;
143
143
  }>;
144
144
  /**
@@ -172,17 +172,20 @@ export declare const SearchSchema: z.ZodObject<{
172
172
  user_id: z.ZodOptional<z.ZodString>;
173
173
  time_range: z.ZodOptional<z.ZodDefault<z.ZodEnum<["all", "1h", "3d", "7d", "24h", "30d", "90d"]>>>;
174
174
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
175
+ include_tool_io: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
175
176
  }, "strip", z.ZodTypeAny, {
176
177
  q: string;
177
178
  mode?: "keyword" | "semantic" | "hybrid" | undefined;
178
179
  time_range?: "all" | "1h" | "3d" | "7d" | "24h" | "30d" | "90d" | undefined;
179
180
  limit?: number | undefined;
180
181
  user_id?: string | undefined;
182
+ include_tool_io?: boolean | undefined;
181
183
  }, {
182
184
  q: string;
183
185
  mode?: "keyword" | "semantic" | "hybrid" | undefined;
184
186
  time_range?: "all" | "1h" | "3d" | "7d" | "24h" | "30d" | "90d" | undefined;
185
187
  limit?: number | undefined;
186
188
  user_id?: string | undefined;
189
+ include_tool_io?: boolean | undefined;
187
190
  }>;
188
191
  //# sourceMappingURL=schemas.d.ts.map
package/dist/schemas.js CHANGED
@@ -91,5 +91,6 @@ export const SearchSchema = z.object({
91
91
  user_id: z.string().optional(),
92
92
  time_range: z.enum(TIME_RANGES).default('all').optional(),
93
93
  limit: z.number().min(1).max(100).default(20).optional(),
94
+ include_tool_io: z.boolean().default(false).optional(),
94
95
  });
95
96
  //# sourceMappingURL=schemas.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "CLI for Moda - AI agent analytics and observability",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-07-11T01:00:37.487Z",
4
- "cli_version": "1.19.1",
3
+ "bundled_at": "2026-07-11T20:58:39.588Z",
4
+ "cli_version": "1.19.2",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-node-anthropic",