@vypdev/copilot 3.5.6 → 3.6.1
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/api/index.js +8 -0
- package/build/api/src/data/model/application_error.d.ts +1 -1
- package/build/cli/index.js +4299 -225
- package/build/github_action/index.js +1285 -28
- package/build/web/assets/index-BTzJj-al.js +3 -0
- package/build/web/assets/index-ERZ4A62w.css +1 -0
- package/build/web/index.html +2 -2
- package/package.json +1 -1
- package/setup/workflows/agent-cli-provisioning.yml +11 -3
- package/setup/workflows/copilot_branch_sync.yml +1 -0
- package/setup/workflows/copilot_commit.yml +2 -0
- package/build/web/assets/index-Bev87tD9.js +0 -3
- package/build/web/assets/index-FN-aja4Y.css +0 -1
package/build/api/index.js
CHANGED
|
@@ -84,6 +84,7 @@ exports.PRODUCT_FACING_AGENT_TASKS = [
|
|
|
84
84
|
'think',
|
|
85
85
|
'answer-issue-help',
|
|
86
86
|
'progress',
|
|
87
|
+
'progress-partition',
|
|
87
88
|
'recommend-steps',
|
|
88
89
|
'pull-request-description',
|
|
89
90
|
'bugbot-review',
|
|
@@ -92,6 +93,7 @@ const PRODUCT_FACING_AGENT_SCHEMA_NAMES = Object.freeze({
|
|
|
92
93
|
think: 'think_response',
|
|
93
94
|
'answer-issue-help': 'answer_issue_help_response',
|
|
94
95
|
progress: 'progress_response',
|
|
96
|
+
'progress-partition': 'progress_partition_facts',
|
|
95
97
|
'recommend-steps': 'recommend_steps_response',
|
|
96
98
|
'pull-request-description': 'pull_request_description_response',
|
|
97
99
|
'bugbot-review': 'bugbot_findings',
|
|
@@ -5253,6 +5255,12 @@ exports.APPLICATION_ERROR_METADATA = {
|
|
|
5253
5255
|
action: 'Correct the input and retry.',
|
|
5254
5256
|
retainedState: UNCHANGED_STATE,
|
|
5255
5257
|
},
|
|
5258
|
+
'validation.evidence-too-large': {
|
|
5259
|
+
kind: 'validation', retryable: false,
|
|
5260
|
+
impact: 'Progress could not be assessed within the fixed evidence limits.',
|
|
5261
|
+
action: 'Reduce the comparison size or split the work into smaller reviewed changes before running a new assessment.',
|
|
5262
|
+
retainedState: 'Existing progress labels and published assessments were preserved.',
|
|
5263
|
+
},
|
|
5256
5264
|
'workflow.invalid-event': {
|
|
5257
5265
|
kind: 'workflow', retryable: false,
|
|
5258
5266
|
impact: 'The event cannot start the requested workflow.',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BranchSyncValidationCode } from '../../domain/branch_sync_validation';
|
|
2
2
|
export type ApplicationErrorKind = 'configuration' | 'authorization' | 'provider' | 'agent' | 'validation' | 'workflow' | 'unknown';
|
|
3
|
-
export type ApplicationErrorCode = 'configuration.invalid' | 'configuration.unsupported' | 'authorization.denied' | 'authorization.credential-invalid' | 'provider.not-found' | 'provider.conflict' | 'provider.rate-limited' | 'provider.unavailable' | 'provider.contract-invalid' | 'agent.policy-rejected' | 'agent.failed' | 'locale.output-invalid' | 'locale.translation-failed' | 'validation.invalid-input' | 'workflow.invalid-event' | 'workflow.stale' | 'workflow.cancelled' | 'workflow.failed' | 'workflow.presentation-pending' | 'timeout' | 'unexpected';
|
|
3
|
+
export type ApplicationErrorCode = 'configuration.invalid' | 'configuration.unsupported' | 'authorization.denied' | 'authorization.credential-invalid' | 'provider.not-found' | 'provider.conflict' | 'provider.rate-limited' | 'provider.unavailable' | 'provider.contract-invalid' | 'agent.policy-rejected' | 'agent.failed' | 'locale.output-invalid' | 'locale.translation-failed' | 'validation.invalid-input' | 'validation.evidence-too-large' | 'workflow.invalid-event' | 'workflow.stale' | 'workflow.cancelled' | 'workflow.failed' | 'workflow.presentation-pending' | 'timeout' | 'unexpected';
|
|
4
4
|
export declare const APPLICATION_ERROR_RECOVERY_IDS: readonly ["pull-request-link-restored", "pull-request-link-base-retained", "pull-request-link-reference-retained", "pull-request-link-base-and-reference-retained", "managed-branch-enrichment-failed", "inactivity-explanation-failed", "bugbot-review-blocks-pending", "branch-sync-agent-disabled", "branch-sync-fixer-unavailable", "branch-sync-resolution-invalid", "sdd-draft-size-exceeded", "sdd-draft-format-invalid", "workspace-changes-rejected"];
|
|
5
5
|
export type ApplicationErrorRecoveryId = typeof APPLICATION_ERROR_RECOVERY_IDS[number];
|
|
6
6
|
interface ApplicationErrorRecoveryVariables {
|