@cat-factory/app 0.95.0 → 0.95.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.
@@ -56,14 +56,18 @@ export function providerConnectionsApi({ send, ws }: ApiContext) {
56
56
  // Branch on the kind so `send` sees a single concrete contract (a union contract can't
57
57
  // type-check the optional `queryParams`).
58
58
  describeProvider: (workspaceId: string, kind: ProviderConnectionKind, backendKind?: string) =>
59
+ // Only send the `kind` query when a concrete backend is requested. Passing
60
+ // `{ kind: undefined }` serializes to `?kind=` (an empty string), which the backend
61
+ // reads as a real — unknown — backend kind and rejects with 422; omitting the param
62
+ // lets it fall back to the workspace's stored/default kind as intended.
59
63
  kind === 'environment'
60
64
  ? send(CONTRACTS.environment.describe, {
61
65
  pathPrefix: ws(workspaceId),
62
- queryParams: { kind: backendKind },
66
+ queryParams: backendKind ? { kind: backendKind } : {},
63
67
  })
64
68
  : send(CONTRACTS['runner-pool'].describe, {
65
69
  pathPrefix: ws(workspaceId),
66
- queryParams: { kind: backendKind },
70
+ queryParams: backendKind ? { kind: backendKind } : {},
67
71
  }),
68
72
 
69
73
  getProviderConnection: (workspaceId: string, kind: ProviderConnectionKind) =>
@@ -17,6 +17,7 @@ import DecisionModal from '~/components/panels/DecisionModal.vue'
17
17
  import AgentStepDetail from '~/components/panels/AgentStepDetail.vue'
18
18
  import StepResultViewHost from '~/components/panels/StepResultViewHost.vue'
19
19
  import AddTaskModal from '~/components/board/AddTaskModal.vue'
20
+ import CreateInitiativeModal from '~/components/board/CreateInitiativeModal.vue'
20
21
  import GitHubOnboarding from '~/components/github/GitHubOnboarding.vue'
21
22
  import CommandBar from '~/components/layout/CommandBar.vue'
22
23
  import PersonalCredentialModal from '~/components/providers/PersonalCredentialModal.vue'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.95.0",
3
+ "version": "0.95.1",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",