@grepr/cli 1.14.8-746c3d5 → 1.14.8-866e838
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/build/dist/docs-index/index.json +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +158 -1
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js +12 -0
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/build/dist/openapi-docs/api/Issues/{create_14.md → create_15.md} +1 -1
- package/build/dist/openapi-docs/api/Issues/{delete_14.md → delete_15.md} +1 -1
- package/build/dist/openapi-docs/api/Issues/{get_16.md → get_17.md} +1 -1
- package/build/dist/openapi-docs/api/Issues/{update_12.md → update_13.md} +1 -1
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/create_9.md +32 -0
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/delete_9.md +24 -0
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/get_11.md +29 -0
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/list_11.md +20 -0
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/update_7.md +39 -0
- package/build/dist/openapi-docs/api/Jira-MCP-Integration/upsertApiKey_5.md +38 -0
- package/build/dist/openapi-docs/api/OpenAI-Integration/{create_11.md → create_12.md} +1 -1
- package/build/dist/openapi-docs/api/OpenAI-Integration/{delete_11.md → delete_12.md} +1 -1
- package/build/dist/openapi-docs/api/OpenAI-Integration/{get_13.md → get_14.md} +1 -1
- package/build/dist/openapi-docs/api/OpenAI-Integration/{list_13.md → list_14.md} +1 -1
- package/build/dist/openapi-docs/api/OpenAI-Integration/models_3.md +20 -0
- package/build/dist/openapi-docs/api/OpenAI-Integration/{update_9.md → update_10.md} +1 -1
- package/build/dist/openapi-docs/api/OpenAI-Integration/{upsertApiKey_7.md → upsertApiKey_8.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{create_9.md → create_10.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{delete_9.md → delete_10.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{get_11.md → get_12.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{list_11.md → list_12.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{update_7.md → update_8.md} +1 -1
- package/build/dist/openapi-docs/api/PagerDuty-MCP-Integration/{upsertApiKey_5.md → upsertApiKey_6.md} +1 -1
- package/build/dist/openapi-docs/api/S3-Vector-Index-Integration/{create_12.md → create_13.md} +1 -1
- package/build/dist/openapi-docs/api/S3-Vector-Index-Integration/{delete_12.md → delete_13.md} +1 -1
- package/build/dist/openapi-docs/api/S3-Vector-Index-Integration/{get_14.md → get_15.md} +1 -1
- package/build/dist/openapi-docs/api/S3-Vector-Index-Integration/{list_14.md → list_15.md} +1 -1
- package/build/dist/openapi-docs/api/S3-Vector-Index-Integration/{update_10.md → update_11.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{create_10.md → create_11.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{delete_10.md → delete_11.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{get_12.md → get_13.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{list_12.md → list_13.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{update_8.md → update_9.md} +1 -1
- package/build/dist/openapi-docs/api/Slack-MCP-Integration/{upsertApiKey_6.md → upsertApiKey_7.md} +1 -1
- package/build/dist/openapi-docs/api/Users/{list_16.md → list_17.md} +1 -1
- package/build/dist/openapi-docs/api/Webhook-Integration/{create_13.md → create_14.md} +1 -1
- package/build/dist/openapi-docs/api/Webhook-Integration/{delete_13.md → delete_14.md} +1 -1
- package/build/dist/openapi-docs/api/Webhook-Integration/{get_15.md → get_16.md} +1 -1
- package/build/dist/openapi-docs/api/Webhook-Integration/{list_15.md → list_16.md} +1 -1
- package/build/dist/openapi-docs/api/Webhook-Integration/{update_11.md → update_12.md} +1 -1
- package/build/dist/openapi-docs/schemas/ItemsCollectionReadJiraMcp.md +8 -0
- package/build/dist/openapi-docs/schemas/JiraMcp.md +23 -0
- package/build/dist/openapi-docs/schemas/ModelConfiguration.md +1 -1
- package/build/dist/openapi-docs/schemas/OpenAi.md +8 -0
- package/build/dist/openapi-docs/schemas/ReadJiraMcp.md +44 -0
- package/build/dist/openapi-docs/schemas/WriteJiraMcp.md +24 -0
- package/package.json +1 -1
|
@@ -297,6 +297,26 @@ export interface paths {
|
|
|
297
297
|
patch?: never;
|
|
298
298
|
trace?: never;
|
|
299
299
|
};
|
|
300
|
+
"/v1/agents/context-estimate": {
|
|
301
|
+
parameters: {
|
|
302
|
+
query?: never;
|
|
303
|
+
header?: never;
|
|
304
|
+
path?: never;
|
|
305
|
+
cookie?: never;
|
|
306
|
+
};
|
|
307
|
+
get?: never;
|
|
308
|
+
put?: never;
|
|
309
|
+
/**
|
|
310
|
+
* Estimate an agent's starting context
|
|
311
|
+
* @description Returns the parts of an agent's first model request and their estimated sizes: the prompts, the skill list and the tools. The run's own message (the signal or the chat) comes on top. Sizes are characters divided by 4. An MCP integration whose tools cannot be listed is returned with 0 tokens.
|
|
312
|
+
*/
|
|
313
|
+
post: operations["contextEstimate"];
|
|
314
|
+
delete?: never;
|
|
315
|
+
options?: never;
|
|
316
|
+
head?: never;
|
|
317
|
+
patch?: never;
|
|
318
|
+
trace?: never;
|
|
319
|
+
};
|
|
300
320
|
"/v1/agents/mcp-integrations/{integrationId}/tools": {
|
|
301
321
|
parameters: {
|
|
302
322
|
query?: never;
|
|
@@ -2146,6 +2166,22 @@ export interface paths {
|
|
|
2146
2166
|
patch?: never;
|
|
2147
2167
|
trace?: never;
|
|
2148
2168
|
};
|
|
2169
|
+
"/v1/integrations/openai/{id}/models": {
|
|
2170
|
+
parameters: {
|
|
2171
|
+
query?: never;
|
|
2172
|
+
header?: never;
|
|
2173
|
+
path?: never;
|
|
2174
|
+
cookie?: never;
|
|
2175
|
+
};
|
|
2176
|
+
get: operations["models_3"];
|
|
2177
|
+
put?: never;
|
|
2178
|
+
post?: never;
|
|
2179
|
+
delete?: never;
|
|
2180
|
+
options?: never;
|
|
2181
|
+
head?: never;
|
|
2182
|
+
patch?: never;
|
|
2183
|
+
trace?: never;
|
|
2184
|
+
};
|
|
2149
2185
|
"/v1/integrations/otlp": {
|
|
2150
2186
|
parameters: {
|
|
2151
2187
|
query?: never;
|
|
@@ -4919,6 +4955,20 @@ export interface components {
|
|
|
4919
4955
|
/** @description Whether the agent files and works on issues; required, since an update replaces the agent and an omitted switch would turn issue work off unnoticed. */
|
|
4920
4956
|
worksOnIssues: boolean;
|
|
4921
4957
|
};
|
|
4958
|
+
/** @description What an agent's first model request carries before the run's own message (the signal or the chat), part by part. Sizes are estimates: characters divided by 4. */
|
|
4959
|
+
AgentContextEstimate: {
|
|
4960
|
+
/**
|
|
4961
|
+
* Format: int32
|
|
4962
|
+
* @description The model's context window as the sandbox sets it: OpenCode's own window for a model it knows, otherwise the configured floor.
|
|
4963
|
+
*/
|
|
4964
|
+
contextWindowTokens?: number;
|
|
4965
|
+
parts?: components["schemas"]["ContextPart"][];
|
|
4966
|
+
/**
|
|
4967
|
+
* Format: int32
|
|
4968
|
+
* @description The sum of the parts' tokens.
|
|
4969
|
+
*/
|
|
4970
|
+
totalTokens?: number;
|
|
4971
|
+
};
|
|
4922
4972
|
AgentDetail: {
|
|
4923
4973
|
agent?: components["schemas"]["AgentConfig"];
|
|
4924
4974
|
metrics?: components["schemas"]["AgentInvestigationMetrics"];
|
|
@@ -6613,6 +6663,23 @@ export interface components {
|
|
|
6613
6663
|
*/
|
|
6614
6664
|
type: ConstantSamplingType;
|
|
6615
6665
|
};
|
|
6666
|
+
/** @description One part of an agent's first model request, and its estimated size. */
|
|
6667
|
+
ContextPart: {
|
|
6668
|
+
/** @description The part's breakdown, such as one item per tool; empty when it has none. */
|
|
6669
|
+
items?: components["schemas"]["ContextPart"][];
|
|
6670
|
+
/**
|
|
6671
|
+
* @description Where a part of an agent's first model request comes from.
|
|
6672
|
+
* @enum {string}
|
|
6673
|
+
*/
|
|
6674
|
+
kind?: ContextPartKind;
|
|
6675
|
+
/** @description What the part is, for a person. */
|
|
6676
|
+
label?: string;
|
|
6677
|
+
/**
|
|
6678
|
+
* Format: int32
|
|
6679
|
+
* @description The estimated size, in tokens: characters divided by 4, rounded up.
|
|
6680
|
+
*/
|
|
6681
|
+
tokens?: number;
|
|
6682
|
+
};
|
|
6616
6683
|
/** @description Metadata about the contract. */
|
|
6617
6684
|
Contract: {
|
|
6618
6685
|
/**
|
|
@@ -10401,6 +10468,11 @@ export interface components {
|
|
|
10401
10468
|
};
|
|
10402
10469
|
McpToolDescriptor: {
|
|
10403
10470
|
description?: string;
|
|
10471
|
+
/**
|
|
10472
|
+
* Format: int32
|
|
10473
|
+
* @description What the tool adds to each model request of an agent that may call it, in estimated tokens (characters divided by 4).
|
|
10474
|
+
*/
|
|
10475
|
+
estimatedTokens?: number;
|
|
10404
10476
|
name?: string;
|
|
10405
10477
|
parameters?: components["schemas"]["McpToolParameter"][];
|
|
10406
10478
|
readOnly?: boolean;
|
|
@@ -11110,6 +11182,18 @@ export interface components {
|
|
|
11110
11182
|
* @example **************ey
|
|
11111
11183
|
*/
|
|
11112
11184
|
readonly apiKey?: string;
|
|
11185
|
+
/**
|
|
11186
|
+
* Format: int64
|
|
11187
|
+
* @description Total tokens all agents using this integration may consume per max-tokens window. Null uses the default of 200,000,000.
|
|
11188
|
+
* @example 200000000
|
|
11189
|
+
*/
|
|
11190
|
+
integrationMaxTokens?: number;
|
|
11191
|
+
/**
|
|
11192
|
+
* Format: int32
|
|
11193
|
+
* @description Length in hours of the UTC-aligned max tokens window; must be a divisor of 24. Null uses the default of 1.
|
|
11194
|
+
* @example 24
|
|
11195
|
+
*/
|
|
11196
|
+
maxTokensWindowHours?: number;
|
|
11113
11197
|
/** @description Whether this provider offers an embeddings API and can back agent investigation memory. */
|
|
11114
11198
|
readonly supportsEmbedding?: boolean;
|
|
11115
11199
|
/**
|
|
@@ -16627,6 +16711,7 @@ export type SchemaAgentConfig = components["schemas"]["AgentConfig"];
|
|
|
16627
16711
|
export type SchemaAgentConfigCreate = components["schemas"]["AgentConfigCreate"];
|
|
16628
16712
|
export type SchemaAgentConfigPayload = components["schemas"]["AgentConfigPayload"];
|
|
16629
16713
|
export type SchemaAgentConfigUpdate = components["schemas"]["AgentConfigUpdate"];
|
|
16714
|
+
export type SchemaAgentContextEstimate = components["schemas"]["AgentContextEstimate"];
|
|
16630
16715
|
export type SchemaAgentDetail = components["schemas"]["AgentDetail"];
|
|
16631
16716
|
export type SchemaAgentInvestigationMetrics = components["schemas"]["AgentInvestigationMetrics"];
|
|
16632
16717
|
export type SchemaAgentIssuePickup = components["schemas"]["AgentIssuePickup"];
|
|
@@ -16739,6 +16824,7 @@ export type SchemaConditionNode = components["schemas"]["ConditionNode"];
|
|
|
16739
16824
|
export type SchemaConditionalDataLakeConfig = components["schemas"]["ConditionalDataLakeConfig"];
|
|
16740
16825
|
export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
16741
16826
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
16827
|
+
export type SchemaContextPart = components["schemas"]["ContextPart"];
|
|
16742
16828
|
export type SchemaContract = components["schemas"]["Contract"];
|
|
16743
16829
|
export type SchemaCreateAgentSessionAnalyticsJob = components["schemas"]["CreateAgentSessionAnalyticsJob"];
|
|
16744
16830
|
export type SchemaCreateBackfillJob = components["schemas"]["CreateBackfillJob"];
|
|
@@ -17856,6 +17942,44 @@ export interface operations {
|
|
|
17856
17942
|
};
|
|
17857
17943
|
};
|
|
17858
17944
|
};
|
|
17945
|
+
contextEstimate: {
|
|
17946
|
+
parameters: {
|
|
17947
|
+
query?: never;
|
|
17948
|
+
header?: never;
|
|
17949
|
+
path?: never;
|
|
17950
|
+
cookie?: never;
|
|
17951
|
+
};
|
|
17952
|
+
requestBody: {
|
|
17953
|
+
content: {
|
|
17954
|
+
"application/json": components["schemas"]["AgentConfigCreate"];
|
|
17955
|
+
};
|
|
17956
|
+
};
|
|
17957
|
+
responses: {
|
|
17958
|
+
/** @description Estimate computed successfully */
|
|
17959
|
+
200: {
|
|
17960
|
+
headers: {
|
|
17961
|
+
[name: string]: unknown;
|
|
17962
|
+
};
|
|
17963
|
+
content: {
|
|
17964
|
+
"application/json": components["schemas"]["AgentContextEstimate"];
|
|
17965
|
+
};
|
|
17966
|
+
};
|
|
17967
|
+
/** @description The configuration names no model */
|
|
17968
|
+
400: {
|
|
17969
|
+
headers: {
|
|
17970
|
+
[name: string]: unknown;
|
|
17971
|
+
};
|
|
17972
|
+
content?: never;
|
|
17973
|
+
};
|
|
17974
|
+
/** @description Unauthorized */
|
|
17975
|
+
401: {
|
|
17976
|
+
headers: {
|
|
17977
|
+
[name: string]: unknown;
|
|
17978
|
+
};
|
|
17979
|
+
content?: never;
|
|
17980
|
+
};
|
|
17981
|
+
};
|
|
17982
|
+
};
|
|
17859
17983
|
mcpIntegrationTools: {
|
|
17860
17984
|
parameters: {
|
|
17861
17985
|
query?: {
|
|
@@ -22869,6 +22993,28 @@ export interface operations {
|
|
|
22869
22993
|
};
|
|
22870
22994
|
};
|
|
22871
22995
|
};
|
|
22996
|
+
models_3: {
|
|
22997
|
+
parameters: {
|
|
22998
|
+
query?: never;
|
|
22999
|
+
header?: never;
|
|
23000
|
+
path: {
|
|
23001
|
+
id: string;
|
|
23002
|
+
};
|
|
23003
|
+
cookie?: never;
|
|
23004
|
+
};
|
|
23005
|
+
requestBody?: never;
|
|
23006
|
+
responses: {
|
|
23007
|
+
/** @description default response */
|
|
23008
|
+
default: {
|
|
23009
|
+
headers: {
|
|
23010
|
+
[name: string]: unknown;
|
|
23011
|
+
};
|
|
23012
|
+
content: {
|
|
23013
|
+
"application/json": components["schemas"]["ItemsCollectionString"];
|
|
23014
|
+
};
|
|
23015
|
+
};
|
|
23016
|
+
};
|
|
23017
|
+
};
|
|
22872
23018
|
listOtlpIntegrations: {
|
|
22873
23019
|
parameters: {
|
|
22874
23020
|
query?: never;
|
|
@@ -30207,6 +30353,16 @@ export declare enum ConditionNodeKind {
|
|
|
30207
30353
|
export declare enum ConstantSamplingType {
|
|
30208
30354
|
constant_sampling = "constant-sampling"
|
|
30209
30355
|
}
|
|
30356
|
+
export declare enum ContextPartKind {
|
|
30357
|
+
BASE_PROMPT = "BASE_PROMPT",
|
|
30358
|
+
ENVIRONMENT = "ENVIRONMENT",
|
|
30359
|
+
AGENT_PROMPT = "AGENT_PROMPT",
|
|
30360
|
+
FRAMEWORK = "FRAMEWORK",
|
|
30361
|
+
SKILLS = "SKILLS",
|
|
30362
|
+
BUILT_IN_TOOLS = "BUILT_IN_TOOLS",
|
|
30363
|
+
GREPR_TOOLS = "GREPR_TOOLS",
|
|
30364
|
+
MCP_TOOLS = "MCP_TOOLS"
|
|
30365
|
+
}
|
|
30210
30366
|
export declare enum CreateIssueRequestConfidence {
|
|
30211
30367
|
CONFIRMED = "CONFIRMED",
|
|
30212
30368
|
LIKELY = "LIKELY",
|
|
@@ -30551,7 +30707,8 @@ export declare enum MinAttributesMergeStrategyType {
|
|
|
30551
30707
|
export declare enum ModelConfigurationProvider {
|
|
30552
30708
|
ANTHROPIC = "ANTHROPIC",
|
|
30553
30709
|
GEMINI = "GEMINI",
|
|
30554
|
-
LITELLM = "LITELLM"
|
|
30710
|
+
LITELLM = "LITELLM",
|
|
30711
|
+
OPENAI = "OPENAI"
|
|
30555
30712
|
}
|
|
30556
30713
|
export declare enum MonthlyCreditPoolSummaryType {
|
|
30557
30714
|
monthly_credit_pool = "monthly-credit-pool"
|