@pragma-sh/plugin 0.4.0 → 0.5.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/dist/catalog.cjs CHANGED
@@ -52,7 +52,7 @@ function defineAgent(input) {
52
52
  return input;
53
53
  }
54
54
  // src/generated/version.ts
55
- var PLUGIN_API_VERSION = "0.4.0";
55
+ var PLUGIN_API_VERSION = "0.5.0";
56
56
 
57
57
  // src/plugin.ts
58
58
  function definePlugin(input) {
package/dist/catalog.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  definePlugin,
5
5
  defineUsageLimitProvider,
6
6
  runProviderCommand
7
- } from "./shared/chunk-8v67k8cv.js";
8
- import"./shared/chunk-nxzez4cv.js";
7
+ } from "./shared/chunk-xk8erfj9.js";
8
+ import"./shared/chunk-em8psx21.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.4.0";
119
+ var PLUGIN_API_VERSION = "0.5.0";
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.4.0";
353
+ declare const PLUGIN_API_VERSION = "0.5.0";
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.4.0";
353
+ declare const PLUGIN_API_VERSION = "0.5.0";
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-8v67k8cv.js";
8
+ } from "./shared/chunk-xk8erfj9.js";
9
9
  import {
10
10
  PLUGIN_API_VERSION
11
- } from "./shared/chunk-nxzez4cv.js";
11
+ } from "./shared/chunk-em8psx21.js";
12
12
  // src/contributions.ts
13
13
  function defineSidebarTab(input) {
14
14
  return input;
@@ -1,4 +1,4 @@
1
1
  // src/generated/version.ts
2
- var PLUGIN_API_VERSION = "0.4.0";
2
+ var PLUGIN_API_VERSION = "0.5.0";
3
3
 
4
4
  export { PLUGIN_API_VERSION };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PLUGIN_API_VERSION
3
- } from "./chunk-nxzez4cv.js";
3
+ } from "./chunk-em8psx21.js";
4
4
 
5
5
  // src/agent.ts
6
6
  function defineAgent(input) {
package/dist/version.cjs CHANGED
@@ -44,4 +44,4 @@ __export(exports_version, {
44
44
  module.exports = __toCommonJS(exports_version);
45
45
 
46
46
  // src/generated/version.ts
47
- var PLUGIN_API_VERSION = "0.4.0";
47
+ var PLUGIN_API_VERSION = "0.5.0";
@@ -3,5 +3,5 @@
3
3
  * every plugin definition by `definePlugin`. Used by the Pragma host to check
4
4
  * compatibility before loading a plugin bundle.
5
5
  */
6
- declare const PLUGIN_API_VERSION = "0.4.0";
6
+ declare const PLUGIN_API_VERSION = "0.5.0";
7
7
  export { PLUGIN_API_VERSION };
package/dist/version.d.ts CHANGED
@@ -3,5 +3,5 @@
3
3
  * every plugin definition by `definePlugin`. Used by the Pragma host to check
4
4
  * compatibility before loading a plugin bundle.
5
5
  */
6
- declare const PLUGIN_API_VERSION = "0.4.0";
6
+ declare const PLUGIN_API_VERSION = "0.5.0";
7
7
  export { PLUGIN_API_VERSION };
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PLUGIN_API_VERSION
3
- } from "./shared/chunk-nxzez4cv.js";
3
+ } from "./shared/chunk-em8psx21.js";
4
4
  export {
5
5
  PLUGIN_API_VERSION
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pragma-sh/plugin",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
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.4.0",
78
- "@pragma-sh/sdk": "^0.4.0",
77
+ "@pragma-sh/constants": "^0.5.0",
78
+ "@pragma-sh/sdk": "^0.5.0",
79
79
  "zod": "^4.4.3"
80
80
  },
81
81
  "devDependencies": {