@forloop-cc/forloop-opencode-plugin-planner 2.2.20 → 2.2.22
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@forloop-cc/forloop-opencode-plugin-planner",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.22",
|
|
5
5
|
"description": "ForLoop integration plugin for opencode — Sprint, story, and agent tools for the ForLoop platform",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -92,7 +92,7 @@ export function createOrganizationGetTool(client: ForLoopAPIClient) {
|
|
|
92
92
|
|
|
93
93
|
export function createOrganizationCreateTool(client: ForLoopAPIClient) {
|
|
94
94
|
return tool({
|
|
95
|
-
description: 'Create a new organization (requires
|
|
95
|
+
description: 'Create a new organization (requires Starter/Professional tier)',
|
|
96
96
|
args: {
|
|
97
97
|
name: tool.schema.string()
|
|
98
98
|
.describe('Organization name'),
|
|
@@ -109,8 +109,8 @@ export function createOrganizationCreateTool(client: ForLoopAPIClient) {
|
|
|
109
109
|
|
|
110
110
|
try {
|
|
111
111
|
const profile = await client.getUserProfile();
|
|
112
|
-
if (!['
|
|
113
|
-
return '❌ Creating organizations requires
|
|
112
|
+
if (!['starter', 'professional'].includes(profile.tier)) {
|
|
113
|
+
return '❌ Creating organizations requires Starter or Professional tier. Contact support to upgrade.';
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
const quotas = await client.getUserQuotas();
|