@pragma-sh/plugin 0.6.0 → 1.0.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/dist/catalog.cjs +1 -1
- package/dist/catalog.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/shared/{chunk-vf5f23r7.js → chunk-6qx2xj9p.js} +1 -1
- package/dist/shared/{chunk-fez50ewr.js → chunk-e222xk1w.js} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/catalog.cjs
CHANGED
package/dist/catalog.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
definePlugin,
|
|
5
5
|
defineUsageLimitProvider,
|
|
6
6
|
runProviderCommand
|
|
7
|
-
} from "./shared/chunk-
|
|
8
|
-
import"./shared/chunk-
|
|
7
|
+
} from "./shared/chunk-6qx2xj9p.js";
|
|
8
|
+
import"./shared/chunk-e222xk1w.js";
|
|
9
9
|
export {
|
|
10
10
|
runProviderCommand,
|
|
11
11
|
defineUsageLimitProvider,
|
package/dist/index.cjs
CHANGED
|
@@ -116,7 +116,7 @@ function defineCommand(input) {
|
|
|
116
116
|
return input;
|
|
117
117
|
}
|
|
118
118
|
// src/generated/version.ts
|
|
119
|
-
var PLUGIN_API_VERSION = "0.
|
|
119
|
+
var PLUGIN_API_VERSION = "1.0.1";
|
|
120
120
|
// src/hooks.ts
|
|
121
121
|
function usePluginConfig() {
|
|
122
122
|
return getBridge().hooks.usePluginConfig();
|
package/dist/index.d.cts
CHANGED
|
@@ -350,7 +350,7 @@ declare function getBridge(): PragmaBridge;
|
|
|
350
350
|
* every plugin definition by `definePlugin`. Used by the Pragma host to check
|
|
351
351
|
* compatibility before loading a plugin bundle.
|
|
352
352
|
*/
|
|
353
|
-
declare const PLUGIN_API_VERSION = "0.
|
|
353
|
+
declare const PLUGIN_API_VERSION = "1.0.1";
|
|
354
354
|
import { AgentReportPayload } from "@pragma-sh/constants";
|
|
355
355
|
import { ZodType, ZodTypeAny } from "zod";
|
|
356
356
|
import { AgentMessage as AgentMessage3, PragmaClient as PragmaClient3 } from "@pragma-sh/sdk";
|
package/dist/index.d.ts
CHANGED
|
@@ -350,7 +350,7 @@ declare function getBridge(): PragmaBridge;
|
|
|
350
350
|
* every plugin definition by `definePlugin`. Used by the Pragma host to check
|
|
351
351
|
* compatibility before loading a plugin bundle.
|
|
352
352
|
*/
|
|
353
|
-
declare const PLUGIN_API_VERSION = "0.
|
|
353
|
+
declare const PLUGIN_API_VERSION = "1.0.1";
|
|
354
354
|
import { AgentReportPayload } from "@pragma-sh/constants";
|
|
355
355
|
import { ZodType, ZodTypeAny } from "zod";
|
|
356
356
|
import { AgentMessage as AgentMessage3, PragmaClient as PragmaClient3 } from "@pragma-sh/sdk";
|
package/dist/index.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
defineAgent,
|
|
6
6
|
definePlugin,
|
|
7
7
|
defineUsageLimitProvider
|
|
8
|
-
} from "./shared/chunk-
|
|
8
|
+
} from "./shared/chunk-6qx2xj9p.js";
|
|
9
9
|
import {
|
|
10
10
|
PLUGIN_API_VERSION
|
|
11
|
-
} from "./shared/chunk-
|
|
11
|
+
} from "./shared/chunk-e222xk1w.js";
|
|
12
12
|
// src/contributions.ts
|
|
13
13
|
function defineSidebarTab(input) {
|
|
14
14
|
return input;
|
package/dist/version.cjs
CHANGED
package/dist/version.d.cts
CHANGED
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pragma-sh/plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Public TypeScript API for building Pragma plugins.",
|
|
5
5
|
"homepage": "https://github.com/pragma-sh/pragma#readme",
|
|
6
6
|
"bugs": "https://github.com/pragma-sh/pragma/issues",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"lint": "oxlint ."
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@pragma-sh/constants": "^0.
|
|
78
|
-
"@pragma-sh/sdk": "^0.
|
|
77
|
+
"@pragma-sh/constants": "^1.0.1",
|
|
78
|
+
"@pragma-sh/sdk": "^1.0.1",
|
|
79
79
|
"zod": "^4.4.3"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|