@taskforcehq/taskforce 0.3.300 → 0.3.301
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/README.md +19 -0
- package/dist/components/views/StandaloneLayout.js +24 -3
- package/dist/components/views/panels/FilterToolbar.d.ts +2 -0
- package/dist/components/views/panels/FilterToolbarControls.d.ts +1 -0
- package/dist/components/views/panels/FilterToolbarControls.js +1 -1
- package/dist/components/views/panels/PlanningDrawer.js +1 -1
- package/dist/hooks/useTaskData.js +13 -9
- package/dist/hooks/useTaskData.test.js +61 -0
- package/dist/mcp/runtime.js +4 -4
- package/dist/mcp/runtime.test.js +7 -1
- package/dist/ui/assets/{AgentsModule-TVmCgizS.js → AgentsModule-Bdq3T1Ts.js} +1 -1
- package/dist/ui/assets/{AnnotatedAttachmentWorkspace-CAyhnPeR.js → AnnotatedAttachmentWorkspace-jKUVo-PJ.js} +1 -1
- package/dist/ui/assets/{DocumentWorkspace-BOCw5e4D.js → DocumentWorkspace-DuQa-uIC.js} +1 -1
- package/dist/ui/assets/{InitiativesModule-CN0r02Oi.js → InitiativesModule-C8Pi2VTk.js} +1 -1
- package/dist/ui/assets/{PlansPage-FcQSNLZd.js → PlansPage-B6BDECSi.js} +1 -1
- package/dist/ui/assets/{TaskSettings-Cw5zYD1L.js → TaskSettings-DUJgRTPU.js} +1 -1
- package/dist/ui/assets/{WorkflowsModule-CY9R2zPB.js → WorkflowsModule-b6TLuHwJ.js} +1 -1
- package/dist/ui/assets/{index-DxRiI3tY.css → index-BiiF1cLQ.css} +1 -1
- package/dist/ui/assets/index-xBWLPOEb.js +6 -0
- package/dist/ui/index.html +2 -2
- package/package.json +3 -1
- package/scripts/deploy-prod.sh +41 -0
- package/scripts/deploy-staging.sh +23 -0
- package/dist/ui/assets/index-Bzqy5QGm.js +0 -6
package/dist/ui/index.html
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
|
|
9
9
|
<link rel="apple-touch-icon" href="/taskforce/favicon/apple-touch-icon.png" />
|
|
10
10
|
<title>Taskforce Dashboard</title>
|
|
11
|
-
<script type="module" crossorigin src="/taskforce/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/taskforce/assets/index-xBWLPOEb.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-react-CKJs5o3c.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-icons-QZyhEwgT.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-markdown-BUxTU7dS.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-dnd-DRzYolkg.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-router-BbWMxlnO.js">
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/taskforce/assets/index-
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/taskforce/assets/index-BiiF1cLQ.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taskforcehq/taskforce",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.301",
|
|
4
4
|
"description": "Mission Command center for AI-powered task management (beta - under active development)",
|
|
5
5
|
"author": "Taskforce HQ <hello@taskforcehq.ai> (https://taskforcehq.ai)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,6 +60,8 @@
|
|
|
60
60
|
"check:localization-strings": "node scripts/check-localization-strings.mjs",
|
|
61
61
|
"version:next": "node scripts/release-version.mjs --dry-run",
|
|
62
62
|
"version:bump": "node scripts/release-version.mjs",
|
|
63
|
+
"deploy:staging": "bash scripts/deploy-staging.sh",
|
|
64
|
+
"deploy:prod": "bash scripts/deploy-prod.sh",
|
|
63
65
|
"test:localization": "vitest run src/__tests__/localizationCatalogs.test.ts",
|
|
64
66
|
"check:runtime-boundaries": "node scripts/check-runtime-boundaries.mjs",
|
|
65
67
|
"test:workflow-readiness": "npm run check:workflows && vitest src/__tests__/workflowSimulation.test.ts src/__tests__/workflowExportMatrix.test.ts src/__tests__/workflowExportSnapshots.test.ts src/__tests__/workflowDocumentFixtures.test.ts src/__tests__/structuredCommentValidation.test.ts src/__tests__/structuredDocValidation.test.ts src/__tests__/workflowV2Policy.test.ts src/__tests__/workflowGeneration.test.ts src/__tests__/templates.test.ts",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
|
+
cd "$ROOT_DIR"
|
|
6
|
+
|
|
7
|
+
BUMP_TYPE="${1:-patch}"
|
|
8
|
+
ORIGINAL_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
9
|
+
|
|
10
|
+
case "$BUMP_TYPE" in
|
|
11
|
+
patch|minor|major)
|
|
12
|
+
;;
|
|
13
|
+
*)
|
|
14
|
+
echo "Invalid version bump '$BUMP_TYPE'. Use patch, minor, or major." >&2
|
|
15
|
+
exit 1
|
|
16
|
+
;;
|
|
17
|
+
esac
|
|
18
|
+
|
|
19
|
+
if ! git diff --quiet || ! git diff --cached --quiet; then
|
|
20
|
+
echo "Working tree is not clean. Commit or stash changes before deploying to production." >&2
|
|
21
|
+
exit 1
|
|
22
|
+
fi
|
|
23
|
+
|
|
24
|
+
git checkout main
|
|
25
|
+
git pull --ff-only origin main
|
|
26
|
+
git merge --no-ff --no-commit staging
|
|
27
|
+
npm version "$BUMP_TYPE" --no-git-tag-version
|
|
28
|
+
|
|
29
|
+
VERSION="$(node -p "JSON.parse(require('fs').readFileSync('package.json','utf8')).version")"
|
|
30
|
+
|
|
31
|
+
git add package.json package-lock.json
|
|
32
|
+
git commit -m "chore(release): v${VERSION}"
|
|
33
|
+
git tag "v${VERSION}"
|
|
34
|
+
git push origin main
|
|
35
|
+
git push origin "v${VERSION}"
|
|
36
|
+
|
|
37
|
+
if [[ "$ORIGINAL_BRANCH" != "main" ]]; then
|
|
38
|
+
git checkout "$ORIGINAL_BRANCH"
|
|
39
|
+
fi
|
|
40
|
+
|
|
41
|
+
echo "Promoted staging to main, bumped version to ${VERSION}, and pushed tag v${VERSION}."
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
|
+
cd "$ROOT_DIR"
|
|
6
|
+
|
|
7
|
+
ORIGINAL_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
8
|
+
|
|
9
|
+
if ! git diff --quiet || ! git diff --cached --quiet; then
|
|
10
|
+
echo "Working tree is not clean. Commit or stash changes before deploying to staging." >&2
|
|
11
|
+
exit 1
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
git checkout staging
|
|
15
|
+
git pull --ff-only origin staging
|
|
16
|
+
git merge --no-ff dev -m "chore(release): promote dev to staging"
|
|
17
|
+
git push origin staging
|
|
18
|
+
|
|
19
|
+
if [[ "$ORIGINAL_BRANCH" != "staging" ]]; then
|
|
20
|
+
git checkout "$ORIGINAL_BRANCH"
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
echo "Promoted dev to staging."
|