@shipfox/client-workflows 10.0.0 → 11.0.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +33 -0
- package/dist/components/workflow-run-view/job-card.js +1 -1
- package/dist/components/workflow-run-view/job-card.js.map +1 -1
- package/dist/core/entities/step.d.ts +1 -1
- package/dist/core/entities/step.d.ts.map +1 -1
- package/dist/core/entities/step.js +2 -1
- package/dist/core/entities/step.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/components/workflow-run-view/job-card.tsx +1 -1
- package/src/components/workflow-run-view/workflow-run-view.test.tsx +3 -3
- package/src/core/entities/step.ts +3 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/vercel.json +1 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/client-workflows",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "11.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@swc/helpers": "^0.5.17",
|
|
29
29
|
"date-fns": "^4.1.0",
|
|
30
|
-
"@shipfox/api-definitions-dto": "
|
|
31
|
-
"@shipfox/client-logs": "6.0.2",
|
|
32
|
-
"@shipfox/client-projects": "10.0.0",
|
|
33
|
-
"@shipfox/client-shell": "10.0.0",
|
|
34
|
-
"@shipfox/client-ui": "6.0.2",
|
|
35
|
-
"@shipfox/client-triggers": "10.0.0",
|
|
36
|
-
"@shipfox/react-ui": "0.3.7",
|
|
30
|
+
"@shipfox/api-definitions-dto": "10.0.0",
|
|
37
31
|
"@shipfox/client-api": "6.0.1",
|
|
38
|
-
"@shipfox/api-workflows-dto": "
|
|
32
|
+
"@shipfox/api-workflows-dto": "10.0.0",
|
|
33
|
+
"@shipfox/client-logs": "11.0.0",
|
|
34
|
+
"@shipfox/client-projects": "11.0.0",
|
|
35
|
+
"@shipfox/client-triggers": "11.0.0",
|
|
36
|
+
"@shipfox/react-ui": "0.3.7",
|
|
37
|
+
"@shipfox/client-shell": "11.0.0",
|
|
38
|
+
"@shipfox/client-ui": "6.0.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@tanstack/react-query": "^5.101.0",
|
|
@@ -390,7 +390,7 @@ function StepAttemptDetailPanel({
|
|
|
390
390
|
{isAgentConfigFailure(step, selectedAttemptError) ? (
|
|
391
391
|
<AgentConfigFailureCallout
|
|
392
392
|
workspaceId={workspaceId}
|
|
393
|
-
config={
|
|
393
|
+
config={step.agentConfig}
|
|
394
394
|
error={selectedAttemptError}
|
|
395
395
|
/>
|
|
396
396
|
) : null}
|
|
@@ -293,10 +293,10 @@ describe('WorkflowRunView', () => {
|
|
|
293
293
|
expect(screen.queryByText('anthropic')).not.toBeInTheDocument();
|
|
294
294
|
expect(screen.queryByText('claude-opus-4-8')).not.toBeInTheDocument();
|
|
295
295
|
expect(screen.queryByText('high')).not.toBeInTheDocument();
|
|
296
|
-
expect(screen.getByText('Configure credentials for
|
|
296
|
+
expect(screen.getByText('Configure credentials for anthropic')).toBeInTheDocument();
|
|
297
297
|
expect(
|
|
298
298
|
screen.getByText(
|
|
299
|
-
'This step uses
|
|
299
|
+
'This step uses anthropic, but no workspace credentials are configured for that model provider. Configure anthropic in Agents, then re-run the workflow.',
|
|
300
300
|
),
|
|
301
301
|
).toBeInTheDocument();
|
|
302
302
|
expect(screen.getByRole('link', {name: 'Configure Agents'})).toHaveAttribute(
|
|
@@ -375,7 +375,7 @@ describe('WorkflowRunView', () => {
|
|
|
375
375
|
expect(screen.queryByText('anthropic')).not.toBeInTheDocument();
|
|
376
376
|
expect(screen.queryByText('claude-opus-4-8')).not.toBeInTheDocument();
|
|
377
377
|
expect(screen.queryByText('high')).not.toBeInTheDocument();
|
|
378
|
-
expect(screen.getByText('Configure credentials for
|
|
378
|
+
expect(screen.getByText('Configure credentials for anthropic')).toBeInTheDocument();
|
|
379
379
|
expect(screen.getByRole('link', {name: 'Configure Agents'})).toHaveAttribute(
|
|
380
380
|
'href',
|
|
381
381
|
`/workspaces/${PROJECT_TEST_WID}/settings/agents`,
|
|
@@ -10,7 +10,8 @@ export type StepErrorReason =
|
|
|
10
10
|
| 'config_unresolvable'
|
|
11
11
|
| 'output_invalid'
|
|
12
12
|
| 'agent_config_invalid'
|
|
13
|
-
| 'agent_invocation_failed'
|
|
13
|
+
| 'agent_invocation_failed'
|
|
14
|
+
| 'agent_harness_unavailable';
|
|
14
15
|
export type AgentConfigIssue =
|
|
15
16
|
| 'step_config_invalid'
|
|
16
17
|
| 'provider_not_configured'
|
|
@@ -29,6 +30,7 @@ export const STEP_ERROR_REASONS = new Set<StepErrorReason>([
|
|
|
29
30
|
'output_invalid',
|
|
30
31
|
'agent_config_invalid',
|
|
31
32
|
'agent_invocation_failed',
|
|
33
|
+
'agent_harness_unavailable',
|
|
32
34
|
]);
|
|
33
35
|
export const AGENT_CONFIG_ISSUES = new Set<AgentConfigIssue>([
|
|
34
36
|
'step_config_invalid',
|